Ascla Posted February 18, 2012 Share Posted February 18, 2012 (edited) Hello, I have a problem with the connection to MYSQL. I enter this in the file "mysql" folder "sql" local server = get( "localhost" ) or "" -- server local user = get( "root" ) or "" -- username local password = get( "" ) or "" -- password local db = get( "unix" ) or "" -- database local port = get( "" ) or 3306 local socket = get( "" ) or nil But when I run the server, I have these errors http://pastebin.com/xE8SUCE9 PS: Sorry if there are mistakes, I'm French Edited February 18, 2012 by Guest Link to comment
Kenix Posted February 18, 2012 Share Posted February 18, 2012 1.Install PMA( php my admin ) Better install package: Download 2.Add resource sql to acl.xml ( admin group ). 3.You not load module mysql. Link to comment
Ascla Posted February 18, 2012 Author Share Posted February 18, 2012 I can not go through wamp? Link to comment
Kenix Posted February 18, 2012 Share Posted February 18, 2012 I can not go through wamp? You can use. Link to comment
Ascla Posted February 18, 2012 Author Share Posted February 18, 2012 But what do I put the port and the socket? Link to comment
Grimaexreaper Posted February 29, 2012 Share Posted February 29, 2012 local hostname = get( "hostname" ) or "localhost" local username = get( "username" ) or "root" local password = get( "password" ) or "" local database = get( "database" ) or "Yourdatabasenamehere" local port = tonumber( get( "port" ) ) or 3306 I use that for xamp if that helps any if your running it local just add localhost as you see in the first line and so on and where i put your databasenamehere that will be your mysql database name you created so if you called it john instead of typing Yourdatabasenamehere you would just replace it with john hope this helps a bit also make sure your s_myslq is scripted correctly and make sure your settings also are to in your deathmatch folder if you need anymore help let me know Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now