Find the answer to your Linux question:
Results 1 to 2 of 2
ello everyone I've successfully installed mysql using yum on the latest fedora; and started it like so yum install mysql yum install mysql-server yum install mysql-devel yum install mysql- bench ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    4

    Installing and Running MySQL Fedora

    ello everyone

    I've successfully installed mysql using yum on the latest fedora; and started it like so

    yum install mysql
    yum install mysql-server
    yum install mysql-devel
    yum install mysql- bench

    What do I do from here!
    EDIT:

    I used the command: whereis mysql

    I found out it was in /usr/bin/mysql /usr/lib/mysql /usr/share/mysql ../man/man1/.gz

    I attempted to execute it from root.. bin and I get the following error message:

    ERROR 2002 (HY000): Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock'
    Last edited by infinitetrekker; 01-07-2011 at 03:05 AM.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    To start mysql you need to do the following:

    Code:
    service mysqld start

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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