Mysql - Mysql command prompt from lampp, Lampp connect mysql socket
Mysql command prompt from lampp
Consider that you have installed your lampp under /opt directorSo you lampp folder seems to be like /opt/lampp/, by default the path of the mysql is /opt/lampp/var/mysql/
when you type the mysql connector will search for the socket, to specify the socket use the bellow command
mysql -u root --socket=/opt/lampp/var/mysql/mysql.sock
Now, If you type as my mysql it will search for the socket and will connect to your mysql which is used by LAMPP.
Note: Make sure that your default mysql is stopped. If not hen stop it by using
/etc/init.d/mysqld stop
The topic on Mysql - Mysql command prompt from lampp is posted by - Math
Hope you have enjoyed, Mysql - Mysql command prompt from lamppThanks for your time