Arsilex Posted October 18, 2013 Share Posted October 18, 2013 Hello i have one problem and i dont know why it... i have this script.. db = "mydb" host = "localhost" puerto = "3306" user = "myuser" pass = "*********" connect = dbConnect( "mysql", "dbname="..db..";host="..host..";port="..puerto, user, pass ) * is oculted text this is me mysql but when i start script have this error: dbConnect failed, Could not connect i alredy test whit other mysql and not work why it ? Link to comment
Castillo Posted October 19, 2013 Share Posted October 19, 2013 Try changing "localhost" to "127.0.0.1". Link to comment
Arsilex Posted October 19, 2013 Author Share Posted October 19, 2013 not work but i test this function in other server and work why is ? Link to comment
Castillo Posted October 19, 2013 Share Posted October 19, 2013 Maybe you didn't properly setup the mysql server. Link to comment
xXMADEXx Posted October 19, 2013 Share Posted October 19, 2013 You could also use SQLite, it might work a little faster. Link to comment
Tete omar Posted October 19, 2013 Share Posted October 19, 2013 I had the same error, the host couldn't fix it until they changed the OS from linux to windows. You have 3 choices: 1- Read this topic carefully: https://forum.multitheftauto.com/viewtopic.php?f=91&t=65428. 2- Change the OS to windows if its not. 3- Tell your host to solve this problem. Other than that, i don't 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