Guest Gulano Posted February 2, 2007 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 :)] Link to comment Share on other sites More sharing options...
Gowator Posted February 2, 2007 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) Link to comment Share on other sites More sharing options...
Guest Gulano Posted February 5, 2007 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now