Hey Guys,
i have a Problem with MySQL
here my ACL
<group name="Admin">
<acl name="Admin"></acl>
<object name="resource.Testmode"></object>
here my mtaserver.conf
<module src="mta_mysql" />
the module is in the
MTA_Server_1260/mods/deathmatch/modules/
in the meta file is the MySQL connect data, the first wich loads.
from the MySQL connect:
gMysqlHost = "localhost"
gMysqlUser = "********"
gMysqlPass = "********"
gMysqlDatabase = "MTA"
function MySQL_Startup()
handler = mysql_connect(gMysqlHost, gMysqlUser, gMysqlPass, gMysqlDatabase)
if( not handler) then
outputDebugString("Couldn't run query: Unable to connect to the MySQL server!")
outputDebugString("Please shutdown the server and start the MySQL server!")
end
end
i tried copy the User and the Pass and connect over phpmyadmin and it works.
Even the MySQL connect data doesnt send a error message.
i hope you can help.
sorry for bad english, im from germany