Announcement

Collapse
No announcement yet.

"mysql.sock" error after downgrading MySQL verion to 4.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "mysql.sock" error after downgrading MySQL verion to 4.0

    ERROR
    Getting following error after downgrading MySQL Version to 4.0 [on cPanel VPS server]
    [[email protected] ~]# mysql
    ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    SOLUTION
    Edited "/usr/share/mysql/charsets/Index" and add the following line at the end:
    cp1251 83
    After adding the above lines MySQL starts working fine.
    [[email protected] ~]# mysql
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 1 to server version: 4.0.27-standard

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> \q
    Bye
    [roo[email protected] ~]#
    Enjoy
    RsyNc.
    Support Team

    SKYPE: john_rodricks
Working...
X