Find the answer to your Linux question:
Results 1 to 3 of 3
hi i'm downloading mysql "mysql-standard-4.1.13-pc-linux-gnu-i686" i've extract it to the folder when i do thi s: Code: ./bin/mysqladmin -u root password then the error: Code: error: 'Can't connect to local ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    Malang, Indonesia
    Posts
    53

    error starting mysql


    hi i'm downloading mysql "mysql-standard-4.1.13-pc-linux-gnu-i686"
    i've extract it to the folder


    when i do thi s:
    Code:
    ./bin/mysqladmin -u root password
    then the error:

    Code:
    error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
    Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

  2. #2
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202
    when i got this error i found the mysql was already running...

    try
    mysql --user=root
    and see how that works (sorry if i got the command wrong..lol.. try 'man mysql' and try to run mysql as root mysql user without a password)

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Location
    Malang, Indonesia
    Posts
    53
    when i do
    Code:
     ./mysql
    the error :
    Code:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
    and then i copy the file "mysql.server" from my folder of mysql "file:/home/techz_boy/source/LAMP/mysql-standard-4.1.13-pc-linux-gnu-i686/support-files" to /etc/init.d/

    when i do :
    Code:
     [root@localhost support-files]# ./mysql.server start
    ./mysql.server: line 172: my_print_defaults: command not found
    ./mysql.server: line 188: cd: /usr/local/mysql: No such file or directory
     ERROR! Can't execute ./bin/mysqld_safe
    [root@localhost support-files]#
    sorry if my english is bad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •