PHP/MySQL not playing nicely. Server drops connection. . .



Hi All,

I recently installed PHP, APACHE, MYSQL per the method at the following site:

http://switch.richard5.net/isp-in-a-box-v2/installing-mysql-on-mac-os-x/



.. . .I then attempted to connect to a database (but without executing any commands on it), and I keep receiving the following error:



Safari can’t open the page “http://localhost/~michwill/folder/ validate_event.php” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later.


I'm really not sure what the problem is or what to do about it. Can anyone help? I've ensured that all passwords and ports are correct. I've also tried using MAMP, but it keeps telling me that I can't access the database with the "connect" commands I'm using (although I've adjusted them. Anyway, any help would be much appreciated.


Regards,
Michael

Relevant Pages

  • Re: commands out of sync problem
    ... server and client application like this: ... Add a SQLconnection for the MySQL database ... and...tada 'commands out of sync: you can't run this command now'. ...
    (alt.comp.lang.borland-delphi)
  • Re: [SLE] MySQL Table Locked?
    ... Mysql seems to think it is fine. ... > a sql back-up of the one table that's not working ... > Check the headers for your unsubscription address ... For additional commands send e-mail to suse-linux-e-help@suse.com ...
    (SuSE)
  • Converting from MySQL commands to Oracle: HELP!
    ... A colleague has written a prototype program in PHP, using a MySQL ... with a restricted set of mysql commands ... Oracle equivalent, including connecting to the new DB ... mysql_data_seek($arry, $day) ...
    (comp.lang.php)
  • Re: problem if vers extension are different of mysql version?
    ... the InnoDB engine uses just one big container file for all the data. ... mysqldump -uUser -pPassword Database> dump.sql ... Then on the other machine you simply import that file using the 'mysql' ... The commands are the same. ...
    (comp.lang.php)
  • Re: [SLE] MYSQL
    ... When you install mysql a "mysql" daemon user account ... > Check the headers for your unsubscription address ... "Zwei Dinge sind unendlich, das Universum und die menschliche Dummheit, ... For additional commands send e-mail to suse-linux-e-help@suse.com ...
    (SuSE)