[PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Rick Dwyer
Hello all. I used the code below successfully to connect to a MySQL db on one hosting provider. I've moved the code to a new hosting provider with new values and it returns: Access denied for user 'user'@'db.hostprovider.net' (using password: YES) Even though I can copy and paste these three

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Ray
On January 12, 2013 11:25:58 AM Rick Dwyer wrote: > Hello all. > > I used the code below successfully to connect to a MySQL db on one hosting > provider. I've moved the code to a new hosting provider with new values > and it returns: > > Access denied for user 'user'@'db.hostprovider.net' (using

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread admin
> -Original Message- > From: Rick Dwyer [mailto:rpdw...@earthlink.net] > Sent: Saturday, January 12, 2013 8:26 AM > To: php-general@lists.php.net > Subject: [PHP] Can't connect to MySQL via PHP > > Hello all. > > I used the code below successfully to connect to a MySQL db on one > hosti

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Ashley Sheridan
On Sat, 2013-01-12 at 12:56 -0800, admin wrote: > > > -Original Message- > > From: Rick Dwyer [mailto:rpdw...@earthlink.net] > > Sent: Saturday, January 12, 2013 8:26 AM > > To: php-general@lists.php.net > > Subject: [PHP] Can't connect to MySQL via PHP > > > > Hello all. > > > > I used

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Rick Dwyer
On Jan 12, 2013, at 3:56 PM, "admin" wrote: > > >> -Original Message- >> From: Rick Dwyer [mailto:rpdw...@earthlink.net] >> Sent: Saturday, January 12, 2013 8:26 AM >> To: php-general@lists.php.net >> Subject: [PHP] Can't connect to MySQL via PHP >> >> Hello all. >> >> I used the cod

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Jim Giner
On 1/12/2013 1:28 PM, Rick Dwyer wrote: On Jan 12, 2013, at 3:56 PM, "admin" wrote: -Original Message- From: Rick Dwyer [mailto:rpdw...@earthlink.net] Sent: Saturday, January 12, 2013 8:26 AM To: php-general@lists.php.net Subject: [PHP] Can't connect to MySQL via PHP Hello all. I

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread admin
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Saturday, January 12, 2013 10:03 AM To: admin Cc: 'Rick Dwyer'; php-general@lists.php.net Subject: RE: [PHP] Can't connect to MySQL via PHP On Sat, 2013-01-12 at 12:56 -0800, admin wrote: > -Original Message- >

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Ashley Sheridan
admin wrote: > > > > >From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] >Sent: Saturday, January 12, 2013 10:03 AM >To: admin >Cc: 'Rick Dwyer'; php-general@lists.php.net >Subject: RE: [PHP] Can't connect to MySQL via PHP > > > >On Sat, 2013-01-12 at 12:56 -0800, admin wrote: > > >

RE: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Ashley Sheridan
On Sat, 2013-01-12 at 19:53 +, Ashley Sheridan wrote: > > admin wrote: > > > > > > > > > > >From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > >Sent: Saturday, January 12, 2013 10:03 AM > >To: admin > >Cc: 'Rick Dwyer'; php-general@lists.php.net > >Subject: RE: [PHP] Can't connec

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Jim Giner
Simple test I just did. A simple script that first connects to mysql and then tries to select a db. With a uid/pswd that I just made up for the script, I get the following: Error - Could not connect to database from sql_db_connect Access denied for user 'albany_ginerjm3'@'localhost' (using

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread musicdev
I agree. Thanks Ash. Always good recommendations from your end. On Sat, Jan 12, 2013 at 3:03 PM, Ashley Sheridan wrote: > On Sat, 2013-01-12 at 19:53 +, Ashley Sheridan wrote: > > > > > admin wrote: > > > > > > > > > > > > > > > > >From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] >

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread tamouse mailing lists
On Sat, Jan 12, 2013 at 4:49 PM, admin wrote: > As much as the php list would like to force people from using mysql, I guess > you should not have invented it, if you don't want people to still use it. It's not this php list. It's the php developers. mysql* functions are set to be removed in a r