You are here: mysql connect problem « PHP « IT news, forums, messages
mysql connect problem

Posted by Jim & Sara Feldman on 05/25/05 00:14

Hi:

I have recently upgraded from a Mac G4 running OS 10.3.9 to a
G5 running OS 10.4. I ported a working PHP app and upgraded from PHP
4.3.4 to 4.3.10 and MySQL 4.0.17 to 4.1.11. I am having a problem
connecting to MySQL from PHP.

I can connect to the database using either phpMyADMIN or
directly from terminal mode using MySQL commands. However, when I try
to enter the database from php, using

$result = mysql_pconnect("localhost", "api_user", "97533");

I get $result = FALSE. This command works on the old system as does
the MySQL command:

mysql -u api_user -p

I am using the identical php.ini on the new and old machines. Any
help in getting over this hurdle would be appreciated.

Jim
--
Jim Feldman
14 Linda Lane
Newton, MA 02461

617-527-0509

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация