Mysql

Discussion in 'Installation/Configuration' started by smaj84, Aug 19, 2009.

  1. smaj84

    smaj84 New Member

    I have found these errors...
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    root@vps2 [/etc]# service mysqld start
    mysqld: unrecognized service
    root@vps2 [/etc]# service mysql start
    Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe)
    root@vps2 [/etc]# /etc/init.d/mysql start
    Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe)
    root@vps2 [/etc]# /etc/init.d/mysqld start
    -bash: /etc/init.d/mysqld: No such file or directory
    root@vps2 [/etc]# /etc/init.d/mysql.server start
    Starting MySQL. SUCCESS!
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    It says Success but it doesnt really started I cannot access mysql command see this:
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    root@vps2 [/etc]# mysql -u root -p
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    mysql.sock does not exist in /tmp. even mysql.sock does not exist anywhere..what should I do now?
     
  2. PhilW

    PhilW New Member

    Can't tell exactly since you don't say what distro of Linux you're using, or what version of MySQL, but it looks like you're missing part of your installation, or the install was done wrong.

    How did you install MySQL? That file is part of mysql-server on some distros, and mysql-common on others. If you installed from a package through yum or apt-get, it's easier to fix.
     
  3. smaj84

    smaj84 New Member

    Thank U

    Thank you for ur immediate reply...lol....I have solved that issue

    Thanks anyway

    Regards


    --
    Ali
     
  4. PhilW

    PhilW New Member

    No reason to be sarcastic...I just joined here and saw your open thread, and tried to help you. And you respond by making a childish, sarcastic comment.

    If you solved it, why don't you post the solution, so everyone can benefit? Or is that too much to ask of a little snot like you?
     

Share This Page