Hatake Kakashi Posted January 4, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Share 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 Link to comment Share on other sites More sharing options...
Lighta Posted January 4, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Brian Posted January 5, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted January 5, 2012 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted January 5, 2012 but i dont have previously mysql installed there. i already reinstall my OS. Quote Link to comment Share on other sites More sharing options...
Vengeance Posted January 8, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Share 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 Link to comment Share on other sites More sharing options...
bentheexo Posted January 23, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 24 Reputation: 19 Joined: 01/14/12 Last Seen: June 21, 2018 Share 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 Link to comment Share on other sites More sharing options...
Gepard Posted January 23, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 392 Reputation: 285 Joined: 12/19/11 Last Seen: January 23, 2022 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.