Jump to content
xisto Community
it01y2

Mysql Help

Recommended Posts

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.