Mysql status: Mysql server has gone away
#1

Here my problem:

Mysql status: Mysql server has gone away

I am sure I connected right. You need to fill in your mysql info in a file named define.dll. Here my info:

PHP код:
/* MySQL Setting */
#define    HOST        "localhost"
#define USER        "root"
#define PASSWORD    "mike"
#define DBNAME        "ccnr"
#define    HOST2        "localhost"
#define USER2        "root"
#define PASSWORD2    "mike"
#define DBNAME2        "ccnr"
#define FORUMDB        "forum" // Unused 
When I start my server I get this:
PHP код:
[13:43:28Mysql Status 
MySQL server has gone away
[13:43:33GPS System Loaded...
[
13:43:33] --------------------------------------
[
13:43:33
-----------------------------------------
[
13:43:33]  California Cops and Robbers by Bondowocopz
[13:43:33] -----------------------------------------
[
13:43:33Number of vehicle models130 
My sql server is on ( xampp ) and I am sure I'm connected right!
Reply
#2

Maybe it's because you're trying to setup the exact same connection twice (both to the same database with same user and IP).

It makes no sense to connect twice to the same source of data.
Reply
#3

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
Maybe it's because you're trying to setup the exact same connection twice (both to the same database with same user and IP).

It makes no sense to connect twice to the same source of data.
No mate, still the problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)