|
|
|
|
![]() ![]() |
Nov 22 2006, 06:15 PM
Post
#1
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 65 Joined: 7-July 05 Member No.: 9,139 |
I need some help with mysql. I cant seem to connect to an another mysql\server from a different apache server. Whats going on?
|
|
|
|
Nov 22 2006, 06:35 PM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 138 Joined: 30-September 06 From: Iasi, Romania Member No.: 30,851 |
can you be a bit more specific of what your problem is? and try using a more easy-to-understand english
|
|
|
|
Nov 22 2006, 07:09 PM
Post
#3
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,300 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() myCENT:46.50 |
Post the code you are using for the Database connection.
And check to see if the second server allows for the 'hotlinking' of the Databases. It could be that the server is set to not allow such access. There is an apache Directive which will stop the process, I think. If it is an issued directive, you won't be able to access the Database except through their 'localhost'. Also, what are you getting for an Error when you attempt the connection? |
|
|
|
Nov 23 2006, 03:03 PM
Post
#4
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 181 Joined: 22-February 06 Member No.: 19,007 |
if you can be more specific you will definitely find help from here , perhaps you are trying to connect to mysql server from a diferent machine ? if thats the case you need to re-configure mysql to allow root access from remote machines , just click on the check box saying allow rot access from remote machines when you are configuring mysql server , if not you can re post with a more details so we will be able to help you
|
|
|
|
Nov 23 2006, 09:21 PM
Post
#5
|
|
|
-=Hybrid Bus=- ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 742 Joined: 2-November 05 From: My hybrid bus (in NYC), a computer Member No.: 13,709 ![]() |
I need some help with mysql. I cant seem to connect to an another mysql\server from a different apache server. Whats going on? The remote server (meaning not the one that the script runs on) you are trying to connect to might not allow remte hosts. If the remote server uses cPanel, and you have acess to cPanel, log in, go to the MySQL databases page, and scroll way down to Access Hosts. There, fill in the IP address of the server with the script, and click Add Access Host to save it. As an alternative, you can enter %.%.%.% to allow access from any server. If you can't access cPanel then contact the administrator of the remote server and ask him to help you out. Mention this post if you desire. |
|
|
|
Nov 24 2006, 12:53 AM
Post
#6
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 23-November 06 Member No.: 33,903 |
You shoul see the apache, or database configuration perhaps the problem isn't on apache but on MySQL database example you have your database called "alpha_one", and the another database it's "hawn_two", and you should know tghe database login (username pr 'root') and the password, or on your server you can create another database using your features such as username and password, and connect they through an PHP application for example. But like the said on previous topics it's interisng you specify what's your problem and later report the problem detailed. as can be it, like also can be another problem more "complex" alright?!
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd November 2008 - 04:31 PM |