Guest Gulano Posted February 2, 2007 Report Share Posted February 2, 2007 Hi everyone, I am new with Linux and I am also new on this forum. I have a problem with my mysql database. I cannot access it. The problem is that connection cannot be make because of a socket problem. When I am in the terminal I am typing: mysql -u root -p I am typing my password but I am getting that message. Thank you in advanced. Gulano [moved from Workbench by spinynorman - welcome aboard :)] Quote Link to comment Share on other sites More sharing options...
Gowator Posted February 2, 2007 Report Share Posted February 2, 2007 Is the database local (on your macinhe), Im guessing yes for now... Its probably not setup to listen on pipes?? can you post /etc/mysql/my.cnf (might be in a slightly different location) also check you actually set a password for root on mysql... (try without -p) Quote Link to comment Share on other sites More sharing options...
Guest Gulano Posted February 5, 2007 Report Share Posted February 5, 2007 Hi Gowator, Thanks. This is my my.cnf file ---------------------------------------------------------------------- [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock [mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/myweb_log/log/mysql_log pid-file=/var/run/mysqld/mysqld.pid ---------------------------------------------------------------------- Thank you in advanced Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.