sietse11 Posted April 10, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 127 Reputation: 7 Joined: 02/10/13 Last Seen: February 1, 2019 Share Posted April 10, 2013 I am trying to connect xantara flux to my local server. However, everything I try comes back with a QLSTATE[HY000] [2003] Can't connect to MySQL server on '85.#.#.#(4) I am using the ip adress my client uses to connect to the server With the second sql user(so not root) In application.php i put this 'ServerAddress' => 'web.host.IP:and port', 'BaseURI' => ' ', //located in root so I dont have to write a redirect In my servers.php I changed 127.0.0.1 to my WAN address (85.#.#.#) In my router I opened up ports 3306 and the port specified by my webhost(not sure if i need this since my ftp client doesnt) Firewalls are off Any ideas why I cant connect to my mysql server? Quote Link to comment Share on other sites More sharing options...
Asura Posted April 14, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted April 14, 2013 Hi sietse11, If your MySQL server is hosted within the same system (local), then you might as well just stick with '127.0.0.1' instead of your WAN IP. It may be possible that you did not port forward within your router to the proper LAN IP. Quote Link to comment Share on other sites More sharing options...
sietse11 Posted April 15, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 127 Reputation: 7 Joined: 02/10/13 Last Seen: February 1, 2019 Author Share Posted April 15, 2013 well, thats the problem.flux is running on a host, mysql in my local machine. I checked and my host doenst block any traffic on ports. And I opened up port 80 in my router for my second router, which also has port 80 open for my server. ----------------------- I tried using Wamp, disabled its sql. Copied flux to the www folder, redirected my site to my desktop. Flux installed but after the installation of the queries I couldnt log in or create accounts. And my domain name got replaced by my WAN. ----------------------- So I cant get flux to run properly using my domain or wamp. Which is stupid cause it worked perfectly when my host also had mysql database. But since the server runs on my desktop I had huge lags whenever a change was made in the sql database Quote Link to comment Share on other sites More sharing options...
Asura Posted April 16, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted April 16, 2013 Hi sietse11, Please contact your webhosting provider and check if they have any firewall blocking the connection; also ask to whitelist your static IP. Quote Link to comment Share on other sites More sharing options...
Question
sietse11
I am trying to connect xantara flux to my local server.
However, everything I try comes back with a QLSTATE[HY000] [2003] Can't connect to MySQL server on '85.#.#.#(4)
I am using the ip adress my client uses to connect to the server
With the second sql user(so not root)
In application.php i put this
In my servers.php I changed 127.0.0.1 to my WAN address (85.#.#.#)
In my router I opened up ports 3306 and the port specified by my webhost(not sure if i need this since my ftp client doesnt)
Firewalls are off
Any ideas why I cant connect to my mysql server?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.