| | |
external database connection
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2005
Posts: 154
Reputation:
Solved Threads: 0
Hi guys. I wanted to know if something would be possible. I currently have a server that runs mySQL and i created a database on there for use with PHP-Nuke Treasury module. I don't know much in the way of MySQL besides the basics. I uploaded the .sql file to the database without any problems.
Is there then a way i can connect to this database (say is on oldsite.net) from my other web server (say, newsite.net which is currently without MySQl for a while)?
Lets say the database is called "myDatabase" with user "database" with password "password" given full access privileges. How could i then connect to this database using a script on my newsite.net server?
Any ideas? I tried simple things like oldsite.net as server instead of localhost - but as i said, im new to this MySQL thing.
I also enabled newsite.net to be allowed remote access to oldsite.net - but still wont work
Any questions? Answers? Help? --- much appreciated in advance.
Is there then a way i can connect to this database (say is on oldsite.net) from my other web server (say, newsite.net which is currently without MySQl for a while)?
Lets say the database is called "myDatabase" with user "database" with password "password" given full access privileges. How could i then connect to this database using a script on my newsite.net server?
Any ideas? I tried simple things like oldsite.net as server instead of localhost - but as i said, im new to this MySQL thing.
I also enabled newsite.net to be allowed remote access to oldsite.net - but still wont work
Any questions? Answers? Help? --- much appreciated in advance.
I'm not into PHP but maybe this can help
Secondly there is another post
So try to cennect with IP or name of your old domain. If this doesn't work speak with your old provider about DB setup.
•
•
•
•
Originally Posted by http://forums.mysql.com/read.php?108,117760,117763#msg-117763
You can put the IP address of the machine or its name there. However, you must make sure that remote access has been authorized. It is disabled by default.
•
•
•
•
Originally Posted by http://kb.mediatemple.net/article.php?id=236
When attempting to connect externally to your MySQL server through a database-management software (Such as Navicat or MySQL GUI Tools), you will run into problems being able to connect. Typical error messages include "Lost connection to MySQL server" or "Access Denied", or some other text describing a difficulty in establishing the connection. The reason this happens is because we secure your database access to limit external connections only to IP addresses you've explicitly declared on your External Database IP Access List.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Router Connection Settings (Networking Hardware Configuration)
- Connecting password protected MS Access database from C# (C#)
- Database Connection with MY Sql (JSP)
- database questions I have (Database Design)
- Problem Inserting into SQL database on server (ASP.NET)
- database update using excell (Windows NT / 2000 / XP)
- PHP Installation Help (PHP)
- Manipulating A Database (C#)
- Need server for office (Networking Hardware Configuration)
Other Threads in the MySQL Forum
- Previous Thread: Lost connection My SQL
- Next Thread: Data Base error
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groupware hiring hyperic images innerjoins insert ip joebrockmeier join keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization






