Re: Mysql Server Problem, with a fresh install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CIKALA Frédéric ROSI/SIPROD wrote:
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 ?

Correct. Install the server as follows:

# yum install mysql-server

Have it start at every boot:

# chkconfig mysqld on

Start it now:

# service mysqld start

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux