Re: Mysql Server Problem, with a fresh install

From: Dave Cross (davorg_at_gmail.com)
Date: 05/13/05

  • Next message: Scot L. Harris: "Re: PHP and FC3"
    Date: Fri, 13 May 2005 13:40:56 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On 5/13/05, CIKALA Frédéric ROSI/SIPROD
    <frederic.cikala@francetelecom.com> wrote:
    > Hello,
    >
    > I'm quite a beginner, and i need to launch a mysql database in order to use a database
    > for apache&php.
    > We i installed my fedora, i check the mysql box but now, when i look for the mysqld (with
    > a find / ...) i do not find any.When i type mysql i got this error :
    >
    > [root@portailDEM ~]# mysql
    > ERROR 2002: Can't connect to local MySQL server through socket
    > '/var/lib/mysql/mysql.sock' (2)
    > [root@portailDEM ~]#
    >
    > so I checked the permission on this file and i found out that it didn't exists anyway
    > In fact the repertory /var/lib/mysql doesn't even exist.
    > I though that during the installation, the server will installed by itself, because of the
    > checked box but ...
    >
    > How can i do to launch the server ?
    >
    > thanks a lot
    >
    > ps : here is the "locate mysql" return
    >
    > [root@portailDEM ~]# locate mysql
    > /usr/bin/mysqltest
    > /usr/bin/mysql_config
    > /usr/bin/mysqldump
    > /usr/bin/mysqlaccess
    > /usr/bin/mysql_convert_table_format
    > /usr/bin/mysqlbinlog
    > /usr/bin/mysql_fix_privilege_tables
    > /usr/bin/mysqld_multi
    > /usr/bin/mysqlimport
    > /usr/bin/mysql_zap
    > /usr/bin/mysql_setpermission
    > /usr/bin/mysqlbug
    > /usr/bin/mysql
    > /usr/bin/mysql_install_db
    > /usr/bin/mysqlcheck
    > /usr/bin/mysqlshow
    > /usr/bin/mysqldumpslow
    > ....
    > ....
    > It looks install but it is only the client ?

    You can see if you have got the mysql server installed with

      rpm -q mysql-server

    You can see what other mysql-related rpms are installed with

      rpm -qa | grep mysql

    If the server isn't installed you can install it with (as root)

      yum install mysql-server

    Once it is installed, you can start with with (as root)

      service mysqld start

    hth,

    Dave...

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Scot L. Harris: "Re: PHP and FC3"

    Relevant Pages

    • RE: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache
      ... I'm using native mySQL btw, ... 'tight security' as a strive from the developpers to have a good security ... Learn how to setup a server on a unix system, ... cus they have no fans on em so make no noise;) and install a linux distrib ...
      (php.general)
    • Re: Using MySQL as the backend
      ... I need to learn MySQL, ... > the impression you're not familiar with the concept of a server DB. ... > doesn't need to have Access installed to access the database, ... >> install the server or maybe I have it installed but I just don't know how to ...
      (microsoft.public.access.tablesdbdesign)
    • mysql troubles
      ... fresh mysql4.1 install on fbsd5.3 ... bsd# mysqladmin flush-privileges ... 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' ' ... PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER! ...
      (freebsd-questions)
    • Re: RH 8.0 Where is libmysqlclient.so.10 library
      ... > We are using a seperate machine as mysql database server. ... > My question is do i need to install mysql to get this library ??. ...
      (linux.redhat.install)
    • DBI / DBD / MySQL installation problem
      ... I used to run Red Hat 9, and had a perfect relationship with Perl, DBI, ... able to connect to MySQL from Perl via DBI. ... Running install for module Mysql ...
      (perl.dbi.users)