OVH Cloud OVH Cloud

RE: [gentoo-user-fr] démarrage de mysql

2 réponses
Avatar
CARUANA J-P Ext ROSI/SIFAC
> j'ai tent=E9 en root de lancer mysqld, puis j'ai tap=E9 "mysql=20
> -p", mais la log donne (mysql.log est vide) :
>=20
> ---------------- mysql.err ----------------=20
> 040915 19:28:52 mysqld started
> Warning: Ignoring user change to 'mysql' because the user was=20
> set to 'mysql' earlier on the command line
> 040915 19:28:52 mysqld ended
> ---------------- mysql.err ----------------=20

j'ai oubli=E9 une log :

> ---------------- mysqld.err ----------------=20
040915 19:27:53 Fatal error: Can't open privilege tables: Table =
'mysql.host' doesn't exist
040915 19:27:53 Aborting

040915 19:27:53 /usr/sbin/mysqld: Shutdown Complete
> ---------------- mysqld.err ----------------=20

--=20
cordialement,=20
Jean-Philippe CARUANA (jpcaruana.ext@francetelecom.com)
tel : 02 38 65 86 38

--
gentoo-user-fr@gentoo.org mailing list

2 réponses

Avatar
Yoann Pannier
CARUANA J-P Ext ROSI/SIFAC wrote:
040915 19:27:53 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist



Tu as du oublié d'initialiser mysql, non ? La commande pour se faire est
donnée a la fin de l'emerge.

einfo "You might want to run:"
einfo ""ebuild /var/db/pkg/dev-db/${PF}/${PF}.ebuild config""
einfo "if this is a new install."

--
Yoann Pannier

--
mailing list
Avatar
Thierry Thoua
Yoann Pannier wrote:
CARUANA J-P Ext ROSI/SIFAC wrote:

040915 19:27:53 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist




Tu as du oublié d'initialiser mysql, non ? La commande pour se faire est
donnée a la fin de l'emerge.

einfo "You might want to run:"
einfo ""ebuild /var/db/pkg/dev-db/${PF}/${PF}.ebuild config""
einfo "if this is a new install."




Ou simplement mysql_install_db puis les mysqladmin pour le pass du root

--
Thierry Thoua
PGP 0x715F69C2


--
mailing list