mysql_connect stopped working in latest mysql release

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
joelunch
Forum User
Forum User
Posts: 7
Joined: Tue Aug 17, 2010 12:44 am

mysql_connect stopped working in latest mysql release

Unread post by joelunch »

Hi since today's mysql update to mysql.x86_64 0:5.1.57-1.el5.art some of our older php scripts that used to use mysql_connect to connect to database are longer connecting. Does anyone know why this is and how this can be resolved? We are using our own custom version of PHP4 on a few sites that is causing this issue. PHP 5 sites seem fine.

So something as simple as this fails

$db_link = mysql_pconnect ("localhost", "amUser", "artmat9") or die ("Connection Failed!");

Thanks
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: mysql_connect stopped working in latest mysql release

Unread post by mikeshinn »

Whats the PHP error?
Post Reply