Re: mysql_select_db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx> wrote in message news:48FDF2DE.60306@xxxxxxxxxxxxxxxxxxxxx
> 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.
> >
> >
> >
> >

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux