error connect to mysql

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Wed Dec 3 04:57:03 UTC 2003


Am Mi, den 03.12.2003 schrieb Tommy Bear um 05:37:
> I followed the directions exactally on getting mysql
> to load at startup after changing the password.
> that were said from a previous post
> 
> editing /etc/rd.d/init.d/mysqld
> to say:
> 
> if !([ -n "`/usr/bin/mysqladmin -u UNKNOWN_USER ping
> 2> /dev/null`"
> 
> then I run this from a terminal?
> 
> perl -pi -e 's/mysqladmin ping/mysqladmin -u dummyuser
> ping/g' /etc/init.d/mysqld
> 
> ok, I did that.
> still having errors connecting to mysql from my PHP
> files.

the fix above is just for a correct report of the mysql service start.

> I can't find the bugzilla report on this, I did a
> search and found nothing.
> 
> how do I fix this? I have tried everything I can think
> of.  I never had this problem in redhat 9, 8 or 7.3
> thats all I know.  just suddenly appeared in fedora
> core 1.   I am still using the default mysql 3.23 that
> is shipped with fedora.
> 
> if I run /etc/rc.d/init.d/mysqld start
> 
> from a terminal, it starts ok,  but I can't connect to
> mysql from my PHP programs. :(
> 
> any help would be greatly appreciated.
> 
> thanks :)

Do you have the php-mysql package installed?

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20031203/268b8690/attachment-0001.sig>


More information about the fedora-list mailing list