This topic is locked

Problems moving to my new host online!

5/21/2008 1:55:26 PM
PHPRunner General questions
W
wilsonhaze author

PHP error happened

Technical information

Error type 2

Error description mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query

URL www.easyrentng.com/houseinfo_list.php?pagesize=10

Error file /home/www/easyrentng.com/include/dbconnection.php

Error line 9

SQL query
Thats the error message i get when i uploaded my files online, please help, i'm in a big mess now.

i have changed the values in my dbcommon.php file
<?php
session_cache_limiter("none");

session_start();
error_reporting(E_ALL ^ E_NOTICE);
$host="";

$user="[color=#FF0000]my user name";

$pwd="";

$port="[color=#FF0000]my port number which is 21";

$sys_dbname="my database name";
$cCharset = "Windows-1252";
header("Content-type: text/html; charset=".$cCharset);
$dDebug=false;

$dSQL="";

Sergey Kornilov admin 5/21/2008

Leave port number empty or put 3306 there.

W
wilsonhaze author 5/22/2008

Leave port number empty or put 3306 there.



Thanks a lot, it worked for me, please is there a way of speeding up the time it t akes for my page to load, the images are small. But the load time is mostly a little behind.

All the same thanks for the support, you guys are amazing.

Sergey Kornilov admin 5/22/2008

There are literally millions of reasons why your application loads slow.
If it used to work fast on old hosting you may talk to new web hosting support team.