PDA

View Full Version : URGENT:: Help For MySQL


eevachu
March 8th, 2006, 02:21 AM
My friend is trying to set up an Oekaki Board. It requires her to give the name of her database, user, password, and such. She is sure that she filled it in correctly, but it still said:

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/elaine/public_html/oekaki/oekaki/dbconn.php on line 10
Could not connect to the MySQL database.

Please post anything that may help.

Pokedragonfire
March 8th, 2006, 02:57 AM
It's probably having trouble with the quotes.

Do this


<?php
$conn = mysql_connect("localhost", "YOUR USERNAME", "YOUR PASSWORD")
or die(mysql_error());
mysql_select_db("DATABASE NAME");
?>


Just include that in the file you are acessing the database in.

eevachu
March 8th, 2006, 03:46 AM
But it is one of those oekaki instalation pages, you just need to fill in the blanks.

Geometric-sama
March 15th, 2006, 03:31 PM
It could be timing out or something. Google the error.

Koroku
March 20th, 2006, 02:23 AM
Make sure you have the right info~ It's easy to make a database called "oekaki" but forget to put your account name in front of it.

Ex: jesse_oekaki for me on the Elixant server.