Find the answer to your Linux question:
Results 1 to 5 of 5
im a new user of slackwarelinux installed 12 about a week ago when i tried to accesss mysql it didnt work gave out an error couldnot not connect through socket ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    16

    problem with my sql


    im a new user of slackwarelinux installed 12 about a week ago
    when i tried to accesss mysql it didnt work gave out an error couldnot not connect through socket somethingsomething
    i got a nwe tarball of sql and installed it no eroor make was ok and make install worked but still the error persists
    during the boot mysqld starts and then stops and manual start also does not work
    tell me hoe to uninstall it and how to make it work

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    The error message

    Hi;
    Could you please post the error message, thanks

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    16
    error 2002 hy000 cant connect to local mysql server through socket /var /run/mysql/mysql.sock
    this is wat he says when i type mysql
    rest of the error file in attached
    Attached Files Attached Files

  4. #4
    Just Joined!
    Join Date
    Apr 2006
    Posts
    2
    Slackware comes with MySQL already installed, but there are a couple of minor configuration steps that should be taken before starting it with /etc/rc.d/rc.mysqld.

    This is an excerpt from /etc/rc.d/rc.mysqld which explains it:

    # Before you can run MySQL, you must have a database. To install an initial
    # database, do this as root:
    #
    # su - mysql
    # mysql_install_db
    #
    # Note that step one is becoming the mysql user. It's important to do this
    # before making any changes to the database, or mysqld won't be able to write
    # to it later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').

    Make sure you read through rc.mysqld.

  5. #5
    Just Joined!
    Join Date
    Oct 2006
    Posts
    16
    is that all that i would hav to do
    i am not able to work my lan card on slackware there fore cant access net there
    do hav a solution for that too i hav an onboard lan card and command netconfig does not work

Posting Permissions

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