• Error Connecting: Can't connect to MySQL server.
    4 replies, posted
Hello facepunch, I have been a lurker for a while, and now I would like some help. I cannot get cider to connect to my database on my webhost. I have tried 3 different hosts and localhost, none of them seem to connect. When they do connect, I get a different error. This is the error I get on webhost: [IMG]http://gyazo.com/dcef47d1eb8b94ceb2c8ff5950b1426f[/IMG] [url]http://gyazo.com/dcef47d1eb8b94ceb2c8ff5950b1426f[/url] [I]Can't connect to MySQL server on: <ip.ip.ip.ip> (10060) [/I] I have allowed access from the gameservers IP (on a dedicated server) on cpanel. The database and user have been created, sql has been set up correctly. When I do it on lan: [I][03/22/12 19:01:59][Errors] SQL Error in "Vitamin K"'s save: [/I] Then, whenever I disconnect and rejoin, I start from new, it won't save to the database. If anyone could help, that would be great! [highlight](User was banned for this post ("Didn't read the sticky - wrong section" - Gran PC))[/highlight]
Are you using a real server or just a hamachi (singleplayer server) because I had this issue but i never tried it on a real server so i cant be so sure.
[QUOTE=Nerosis;35248668]Are you using a real server or just a hamachi (singleplayer server) because I had this issue but i never tried it on a real server so i cant be so sure.[/QUOTE] Realserver, it's on a dedi.
Im guessing its something to do with your sql file.
[QUOTE=Nerosis;35249874]Im guessing its something to do with your sql file.[/QUOTE] 10060 means it cannot connect, so that won't be it. Tried the connection info from say... phpmyadmin? Or an external source outside cPanel. Did you add the host wildcard? (Host wildcard is %. I haven't used cPanel for a while, but I know theres a "allowed users" section.)
Sorry, you need to Log In to post a reply to this thread.