[Fixed] Mysql cannot connect to local database
2 Attachment(s)
Hello AM, Martin here.
I was put my server on hold for a while, but i start this year and i have problem with MySQL connection.
Spoiler
And here is Full log from main console: Code:
Protocol version 48
Spoiler
~Thanks for your help. - Sorry if thread is not in right place, but the issue appers only with hlds.exe (tested home/work pc's) - Recompiled .sma's with latest 1.8.3-dev-git4526-base-windows My plugins do not overlap, i just use one for db! |
Re: [Problem] Mysql cannot connect to local database
Have you tried it with a default installation of the officially supported version of AMX Mod X (version 1.8.2)? (no 3rd party plugins, just all the default ones)
|
Re: [Problem] Mysql cannot connect to local database
Are you sure you pass correct values in SQL_MakeDbTuple? Just check again in case.
|
Re: [Problem] Mysql cannot connect to local database
1 Attachment(s)
~ I try with 1.8.2 result bellow. ~ no success that's rules out AmxmodX ~
~ Values are correct, changed pass and still..no connection.
Spoiler
~ To add i have all frameworks installed (atleast for xp) and i don't recive any errors and startup hlds.exe ~ I will try to search for alternative (uwamp,wamp) maybe i try xamp or something , meanwhile connection is still refused. |
Re: [Problem] Mysql cannot connect to local database
I'm asking if values are well retrieved from cvars and passed in SQL_MakeDbTuple.
For example, if you have SQL_MakeDbTuple(host,user,pass,db), I want you output host/user/pass/db with server_print() or log_amx(), to make sure you pass proper values. |
Re: [Problem] Mysql cannot connect to local database
1 Attachment(s)
Sorry for mine misunderstanding from 48hours i sleep only 8. Now let's continue.
I tested both SQL_MakeStdTuple and SQL_MakeDbTuple. MakeStdTuple
Spoiler
MakeDbTuple
Spoiler
|
Re: [Problem] Mysql cannot connect to local database
Clean reinstall of Windows seems to fixed it. (problem-clsed)
~btw maybe the new updates git4537 are helped too. Thanks for the help. |
All times are GMT -4. The time now is 10:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.