Re: Re: Install PHPMyAdmin with urpmi

From: Date: Tue, 01 Sep 2009 20:08:53 +0000
Subject: Re: Re: Install PHPMyAdmin with urpmi
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-297579@lists.php.net to get a copy of this message
Dear my friend, Shawn... Hooray....it works.... Thank you very much Shawn.... Thank you...Thank you...Thank you...Thank you...1000x ==== On Tue, 01 Sep 2009 13:14:56 -0500 Shawn McKenzie <nospam@mckenzies.net> wrote: > Ricky Tompu Breaky wrote: > > Hi, hack. > > > > The result is: "Failed". > > > > I don't know why my PHP module does not talk to my MySQL. > > > > Please keep telling me. > > > > On Tue, 1 Sep 2009 12:08:08 +0800 > > hack988 hack988 <hack988@dev.htwap.com> wrote: > > > >> Use follow codes for test your php,php_mysql is work well. > >> use your ip replace localhost,your mysql port replace 3306 and > >> username,password to replace mysql_user, mysql_password. > >> <?php > >> error_reporting(2047); > >> ini_set("display_error","On"); > >> if(mysql_connect('localhost:3306', 'mysql_user', > >> 'mysql_password')){ echo "Ok"; > >> }else{ > >> echo "Failed"; > >> } > >> ?> > > > > In php.ini there must be a extension=mysql.so line. If there is, make > sure that it isn't prefaced by a ; semicolon. > > Also, in the script it should be ini_set("display_errors","On"); >

« previous php.general (#297579) next »