i have installed xampp,and all the service are ok.
now,i want to login mysql by shell instruction,not by phpmyadmin.
how can i do?
Wiedmann wrote:http://dev.mysql.com/doc/refman/5.1/en/mysql.html
(This tool is located in /opt/lampp/bin.)
Wiedmann wrote:Use the "mysql" tool from XAMPP, and not that one from your system.
how to use the mysql tool from xampp?
Wiedmann wrote:(This tool is located in /opt/lampp/bin.)
/opt/lampp/bin/mysql
Wiedmann wrote:how to use the mysql tool from xampp?Wiedmann wrote:(This tool is located in /opt/lampp/bin.)
-->
- Code: Select all
/opt/lampp/bin/mysql
"can not connect to loacl mysql through socket '/opt/lampp/var/mysql/mysql.sock'(2)"
Wiedmann wrote:"can not connect to loacl mysql through socket '/opt/lampp/var/mysql/mysql.sock'(2)"
So you have to start the XAMPP MySQL server.
Users browsing this forum: No registered users and 69 guests