![]() As a side note, you will also see the "socket=" on the ps output, which is setting where the server is going to write the socket. This file will also not be present if MySQL is not running, so you may want to check ps output ps -efa|grep -i mysql to verify it is running. ![]() If that is in an alternate location, you need to specify that alternate location on the commandline with mysql -socket=/path/to/mysql.sock. ![]() In the case of Fedora, this is /var/lib/mysql/mysql.sock. The mysql client binary is going to look in whatever default location it is compiled with. Additionally, you would probably want to add that to your ~/.bash_profile so that it will get reset the next time you login.Īs for the socket issue, your my.cnf file will specify where the socket is located. If you try locate mysql and it comes up with something like /opt/lampp/mysql/bin/mysql, then you need to export PATH=$PATH:/opt/lampp/mysql/bin' to get a simple mysql to work. Like Khaled said, the "command not found" issue is likely a problem with the path setup. No project issues anymore only command line Mysql not working Then after turning on system today, I started lampp and everything worked just fine. Just go ahead and check the Start button next to the Apache and MySQL. This will launch the XAMPP control panel. After doing that I had a socket problem (PhpMyAdmin was not working and showing this)- #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) When it finishes, you can launch the control panel to start working with XAMPP. I just freshly extracted xampp for linux into /opt/lampp/ and have put all the above mentioned things (PHP projects and PhpMyAdmin) there. Click the Start button to start both Apache, MySQL, and FTP server as services. After clicking the XAMPP icon, it will display the below popup window. May be PHP/Mysql was setup already in the system. After install, you can start it by clicking the XAMPP icon in the Finder /Applications folder. This system was someone else's and he is not available here. Click finish and XAMPP will be on your Ubuntu 18.04/20.04 system. If you just upgrade the MySQL server without touching the database files (found in. ![]() Click next until XAMPP begin installing on your local machine. You did not export your MySQL database and re-import it after the upgrade. By default, all the files will unpack under /opt/lampp. Select both components XAMPP core files and XAMPP developer files and click next. I guess I need to do some pointing (define some path in some file) so that my system knows that mysql is installed. This will start the installer for the XAMPP server. Gives this - bash: mysql: command not found echoing phpinfo() in a PHP script also shows mysql enabled. I have xampp setup on the system and php projects present in the webspace are working fine. I have downloaded and installed the Xampp on 5 different occasions and still. in the top of the control panel I read ' XAMPP Control Panel (not responding). I have mysql running in my fedora system. I have downloaded Xampp for Windows 1.7.3 - Although everything appears to install correctly Apache will not run, MySql runs just fine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |