Posts: 39
Threads: 9
Joined: Oct 2015
Quote:
#define mysql_host "149.202.249.83"
#define mysql_user "sulee"
#define mysql_password "****"
#define mysql_database "sulee"
|
Quote:
[01:03:46]
[01:03:46] ---------------------------
[01:03:46] MySQL Debugging activated (11/13/15)
[01:03:46] ---------------------------
[01:03:46]
[01:03:46] >> mysql_connect( )
[01:03:46] CMySQLHandler::CMySQLHandler() - constructor called.
[01:03:46] CMySQLHandler::CMySQLHandler() - Connecting to "149.202.249.83" | DB: "sulee" | Username: "sulee" ...
[01:03:47] CMySQLHandler::Connect() - Can't connect to MySQL server on '149.202.249.83' (10061) (Error ID: 2003)
[01:03:47] >> mysql_query( Connection handle: 1 )
[01:03:48] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[01:03:48] >> mysql_store_result( Connection handle: 1 )
|
And keep contiune this thing , please help
Posts: 39
Threads: 9
Joined: Oct 2015
Posts: 811
Threads: 140
Joined: May 2013
Reputation:
0
#define mysql_host "149.202.249.83"
#define mysql_user "sulee"
#define mysql_password "****"
#define mysql_database "sulee"
You sure mysql user and mysql database name same try to check it maybe different.
Also if it is your host or vps ip you need to upload gm in host or vps , because if you trying to run
gm in your pc it will not work because it is host ip.
Posts: 39
Threads: 9
Joined: Oct 2015
Quote:
Originally Posted by Macluawn
90% of the time it is caused by either: - MySQL server not actually running;
- Wrong port;
- Firewall configuration is blocking access.
Also, unless you 100% know what you are doing, use a local mysql server in a production environment. For development it doesn`t matter as much but expect there to be delays.
|
MYSQL its running but,im testing it from my pc ,that can cause my server crash(fall) ?
Posts: 811
Threads: 140
Joined: May 2013
Reputation:
0
if you are testing on pc you need to use
#define mysql_host "127.0.0.1"
#define mysql_user "root"
#define mysql_password "yourdatabasepass"
#define mysql_database "yourdatabsename"
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
12.11.2015, 19:44
(
Последний раз редактировалось Macluawn; 15.06.2016 в 01:57.
)
Is your mysql server run locally?
If not, check your remote servers firewall configuration. By default I believe non-local connections are dropped.
Posts: 39
Threads: 9
Joined: Oct 2015
Quote:
Originally Posted by Macluawn
Is your mysql server run locally?
If not, check your remote servers firewall configuration. In most cases, non-local connections are dropped.
|
Thanks for helping @Macluawn
MYSQL was dont ^_^
+rep
Posts: 39
Threads: 9
Joined: Oct 2015
27.11.2015, 21:20
(
Последний раз редактировалось AlbaniaMafiaRP; 12.01.2016 в 17:58.
)