Re: mysql_select_db

From: Date: Tue, 21 Oct 2008 18:06:10 +0000
Subject: Re: mysql_select_db
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-45548@lists.php.net to get a copy of this message
So ... if I enter "mysql -h mysqlServer -u stan -p" and then enter the password, I get connected without a problem ... I get the mysql client prompt. And the mysql_connect() statement in my code does not "die". But the mysql_select_db() statement in my code does "die". "Micah Stevens" <micah@raincross-tech.com> wrote in message news:48FDF2DE.60306@raincross-tech.com... > Try it on the command line from the webserver: > > mysql -h hostname -u Stan -p Password > > See if that connect works. > > -Micah > > On 10/21/2008 04:26 AM, Stan wrote: > > Nope ... that wasn't it. > > > > The mysql_connect() works. > > > > It's the mysql_select_db() that's failing. > > > > > > > >

« previous php.db (#45548) next »