Mysql Server Problem, with a fresh install

CIKALA Frédéric ROSI/SIPROD frederic.cikala at francetelecom.com
Fri May 13 13:13:52 UTC 2005


I though the keys was include in the fedora .. but not.

So what could you advise me :
- uninstall all the pakage from the rpm -qa | grep mysql and reinstall all ?
- only install the server ? (if someone has got the right url, for th egogd version ...)
- any idea ?

PS : 
[root at portailDEM ~]# rpm -qa | grep mysql
mysql-3.23.58-13
libdbi-dbd-mysql-0.6.5-9
mysql-devel-3.23.58-13
[root at portailDEM ~]#

thanks for helping'

-----Message d'origine-----
De : fedora-list-bounces at redhat.com
[mailto:fedora-list-bounces at redhat.com]De la part de CIKALA Frédéric
ROSI/SIPROD
Envoyé : vendredi 13 mai 2005 14:47
À : For users of Fedora Core releases
Objet : RE: Mysql Server Problem, with a fresh install


Ok thanks for this quick answer =)
But,
when i type what you told, i got the following error

[root at portailDEM ~]# yum install mysql-server

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
    rpm --import public.gpg.key
For more information contact your distribution or package provider.
[root at portailDEM ~]#  chkconfig mysqld on
error reading information on service mysqld: No such file or directory
[root at portailDEM ~]#

Quite Strange isn't it ?

-----Message d'origine-----
De : fedora-list-bounces at redhat.com
[mailto:fedora-list-bounces at redhat.com]De la part de Paul Howarth
Envoyé : vendredi 13 mai 2005 14:36
À : For users of Fedora Core releases
Objet : Re: Mysql Server Problem, with a fresh install


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 at portailDEM ~]# mysql
> ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
> [root at 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 at 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.

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

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




More information about the fedora-list mailing list