Results 1 to 8 of 8
-
19th Mar 2011, 10:58 PM #1OPMember
Remote SQL connections
I have a website and a VPS, I want the website to be able to access the SQL databases (version 5.5.8) running on the VPS.
I've tried using the GRANT ALL PRIVILEGES command, it didn't seem to do anything.
command:
Code:GRANT ALL PRIVILEGES ON *.* TO 'SITE'@'178.239.62.125' IDENTIFIED BY 'MY-PASSWORD';
Error: Unable to connect to MySQL server. MySQL server is offline or you dont have access to connect to it or username/password is wrong.
MySQL reported: Lost connection to MySQL server at 'reading initial communication packet', system error: 110.
Suggestions:
1) Recheck your MySQL username and password in website's config.php file.
2) Try start MySQL server on your host, maybee there is no connection.
3) Give 'admin' rights to user (SITE) that you using to connect to MySQL.Time Reviewed by Time on . Remote SQL connections I have a website and a VPS, I want the website to be able to access the SQL databases (version 5.5.8) running on the VPS. I've tried using the GRANT ALL PRIVILEGES command, it didn't seem to do anything. command: GRANT ALL PRIVILEGES ON *.* TO 'SITE'@'178.239.62.125' IDENTIFIED BY 'MY-PASSWORD'; Error from the webpage trying to access the databases: Rating: 5
-
19th Mar 2011, 11:00 PM #2
have you tried phpmyadmin?
Is port 3306 firewalled?Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
-
19th Mar 2011, 11:04 PM #3MemberWebsite's:
oneddl.eu nfomation.net linksafe.meYou just need to make sure the mysql server on the vps is set to allow connections from external addresses.
Check mysql.cf, most likely it is only set to bind to localhost.
You also need to allow anyhost to connect to it and this can be done via phpmyadmin.
-
20th Mar 2011, 12:52 AM #4OPMember
I've opened up the ports on the firewall.
I can't seem to find the right mysql.cf file, what directory is it in?
-
20th Mar 2011, 04:07 AM #5Respected Member
/etc/my.cnf
-
22nd Mar 2011, 03:01 AM #6OPMember
Forgot to add, it's a Windows server 2008 VPS.
-
22nd Mar 2011, 03:22 AM #7Member
okay.
Format, install LinuxThis is the staff, you have been banned
-
22nd Mar 2011, 03:56 PM #8Respected Member
Look in your mysql folder for a file called my.ini I believe.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
VPN working but no internet connections
By fidai90 in forum Server ManagementReplies: 2Last Post: 3rd Oct 2012, 04:02 PM -
More as 2 connections (windows 2008 server)
By Sascha in forum Hosting DiscussionReplies: 5Last Post: 17th Feb 2012, 03:52 PM -
Remote Connections Error 4 on VPS using Kloxo
By desibreaker in forum Server ManagementReplies: 5Last Post: 2nd Sep 2011, 02:59 PM -
Show off your connections speed
By WHosting.com in forum General DiscussionReplies: 21Last Post: 8th Aug 2010, 06:42 PM -
Apache - Limiting Number of Connections
By EvilGenius in forum Technical Help Desk SupportReplies: 3Last Post: 5th Jul 2010, 06:48 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...