Jump to content
  • 0

cenOS Installation


Hatake Kakashi

Question


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

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.

post-329-0-48546200-1325638713_thumb.jpg

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

but i dont have previously mysql installed there. i already reinstall my OS.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   13
  • Joined:  01/08/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   19
  • Joined:  01/14/12
  • Last Seen:  

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.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

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...