Jump to content
  • 0
Hatake Kakashi

cenOS Installation

Question

6 answers to this question

Recommended Posts

Yeah I had that socket error once too. That was because I had LAMP and original mysql installed, (wich enter in conflict for socket). Is it your case too ?

If so open /etc/mysql/my.cnf and change socket path for the one you want to use.

From what I'm seen you probably want something like /var/run/mysqld/mysqld.sock. (Just do a locate or find on mysqld.sock to found out your path otherwise)

  • Upvote 1
Link to comment
Share on other sites

If you previously installed MySQL Server and set a password,

then in order to login to change the password, you will have to enter the current password first.

Link to comment
Share on other sites

try to install phpmyadmin and access mysql using it...when you have freshly installed mysql it wont have a password for root and sometimes it wont allow to login without a password...but you can access it if you have phpmyadmin installed then add a password for your root and later try to install mysql secured with the new password you changed...

Edited by Vengeance
Link to comment
Share on other sites

service mysqld start

then run that script. If it can't connect to the mysql.sock it is because there is no running MySQL socket.

that's what I thought too

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.