MySql cannot connect
#1

I can't connect my server to mysql.
I done it right but don't working, on localhost is working but i have a server and not working after i edited...
Reply
#2

Show us the mysql.log if you have?
Reply
#3

make sure your host uses the same as you do = linux: .so or windows: .dll
Reply
#4

Your host may not allow external connections. If you're trying to run the server on your home computer and connect to the MySQL server at your host this may not work. Many providers only allow local MySQL connections (meaning it has to be run at the host- not from your home).
Reply
#5

So i tried with port and saying this
PHP код:
[16:44:31] [ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '185.25.204.34' (111) 
Reply
#6

Show us your
PHP код:
#define mysql_host "" 
Reply
#7

PHP код:
#define mysql_host "185.25.204.34" 
I tried with port too
Reply
#8

I will let someone else help you with this, because im not alot into mySQL so i can't help you alot, try asking to your host also!
Good Luck ^^
Reply
#9

Hello,

Please contact your host and ask for the hostname not the host ip, as I had this problem and it worked with the hostname, but not the host ip.

Thanks,
Thomaswilliams
Reply
#10

I resolved it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)