Tag Info

Hot answers tagged

3

Databases are preserved if they are in the default location /var/lib/mysql. Having taken a look at the mysql-server-5.5 package there are no commands for deleting this data at all. Generally speaking any files (usually log and data files) created in /var are not touched by package managers. Apt/dpgk specifically keeps track of config files which are ...


2

libqt5sql5-mysql is not a part of the default image. If you wish to use it, you must either install it on the phone (which I assume would require making your image writable) or include it as part of your application. As an example, QHttpServer is not provided by the default image. I use it in Beru, so I build it as part of my application.


2

The MySQL server cannot start for some reason, this reason should be detailed in the MySQL error log, try tailing /var/log/mysql.err for further information. I've had this happen when some sort of post upgrade action is required. Without seeing the corresponding log entries however, this would be hard to diagnose.


2

phpmyadmin should run on the server that has Apache2 and PHP running, but it is able to connect to an external database server. Answer taken from here: In the config file, change the "host" variable to point to the external server. The config file is called config.inc.php and it will be in the main phpMyAdmin folder. There should be a line like this: ...


1

Fixed, apt-get install xdp-user-dirs apt-get install glib_networking


1

You can try sudo apt-get install -f mysql-workbench I use in such cases aptitude sudo apt-get install aptitude and then sudo aptitude install mysql-workbench Suggestions are made that can help solve your problem.


1

This error occurs because the mysql-community-client package you are trying to download and install requires libstdc++6 >=4.9. The latest version of libstdc++6 available on the Ubuntu 14.04 LTS repositories is 4.8.2-19ubuntu1, which is older than 4.9. I'm assuming that you're running Ubuntu 14.04, because the libstdc++6 package on your computer is stuck ...


1

can i execute shell commands on Ubuntu from PHP, and automate what I am doing manually now? You can run shell commands from within PHP using the shell_exec() function or using the ` ` (backtick) operator: if you're running PHP < 5.4.0, first make sure to disable safe mode, then in your PHP script you can use either of those syntaxes: $return = ...


1

Well then check if mysql is really not running: sudo aptitude install nmap And then: sudo nmap -sS <ipofdbserverhere> You can also install the tool on the mysql server, the the command would be: sudo nmap -sS localhost In both cases your answer should look like this. [simmel]@[mars]$ sudo nmap -sS 172.16.1.41 Starting Nmap 6.40 ( ...


1

mysql is the client program. You need to install mysql server which you can connect to. sudo apt-get install mysql-server-5.5 During the installation you will be asked for the root password that will be assigned to the mysql root user. Then you need to start the mysqld service sudo service mysqld start Or sudo /etc/init.d/mysqld start Or sudo ...


1

From man less: -F or --quit-if-one-screen Causes less to automatically exit if the entire file can be displayed on the first screen. So, less -F file.txt will make less exit automatically without showing anything, if the content of file.txt can be displayed on the first screen. Here is a test: $ cat test.txt Hello WORLD! Hallo world! $ ...


1

I think you forgot to quote: mysql -p -u root -h localhost --pager='less -F' -F gets passed to mysql instead of less when you don't pass less -F as a single string.


1

Your unmet dependencies problem is caused by the MySQL APT Repository repository. MySQL Server 5.6 from the MySQL APT Repository requires libstdc++6 >=4.9 however MySQL Server 5.6 (mysql-server-5.6) from the the default Ubuntu repositories requires libstdc++6 >=4.6. When you install the version of MySQL Server 5.6 from the Ubuntu Software Center, it ...


1

I don't known lot about your server configuration but I will try to help. First start iptables and do not allow to attack your server iptables -A INPUT -p tcp --dport 80 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT After that i think that logrotate can help us to find site with highest impact. Install logrotate sudo apt-get install logrotate ...


1

Ok so after much help from @kos and google I have managed to get it sorted. The steps that seemed to work were as follows. sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean Then I ran taksel And ticked the lamp option. For some reason this angle worked. Though I cannot tell you why.


1

How can I securely safely install It will always be tricky. Please read the 5.5/5.6 compatibility page before doing anything. Mind 1 big difference between the 2: Beginning with MySQL 5.6.6, several MySQL Server parameters have defaults that differ from previous releases. The motivation for these changes is to provide better out-of-box performance ...



Only top voted, non community-wiki answers of a minimum length are eligible