it01y2 0 Report post Posted November 22, 2006 I need some help with mysql. I cant seem to connect to an another mysql\server from a different apache server. Whats going on? Share this post Link to post Share on other sites
hts 0 Report post Posted November 22, 2006 can you be a bit more specific of what your problem is? and try using a more easy-to-understand english Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted November 22, 2006 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? Share this post Link to post Share on other sites
midnitesun 0 Report post Posted November 23, 2006 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 Share this post Link to post Share on other sites
michaelper22 0 Report post Posted November 23, 2006 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. Share this post Link to post Share on other sites
gcashp 0 Report post Posted November 24, 2006 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?! Share this post Link to post Share on other sites