Hatake Kakashi Posted January 4, 2012 Posted January 4, 2012 is this step by step guide? Installation_on_CentOS but when i install this mysql_secure_installation i try to enter it only blank pass. and i try all pass but this error prompt. Quote
Lighta Posted January 4, 2012 Posted January 4, 2012 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) 1 Quote
Brian Posted January 5, 2012 Posted January 5, 2012 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. Quote
Hatake Kakashi Posted January 5, 2012 Author Posted January 5, 2012 but i dont have previously mysql installed there. i already reinstall my OS. Quote
Vengeance Posted January 8, 2012 Posted January 8, 2012 (edited) 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 January 8, 2012 by Vengeance Quote
bentheexo Posted January 23, 2012 Posted January 23, 2012 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. 2 Quote
Gepard Posted January 23, 2012 Posted January 23, 2012 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 Quote
Question
Hatake Kakashi
is this step by step guide? Installation_on_CentOS
but when i install this
i try to enter it only blank pass. and i try all pass but this error prompt.
6 answers to this question
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.