Remote Access
Posted by: johnnyfittizio (---.ngn.lv)
Date: May 29, 2013 07:07PM

Hello guys!

I need your help because googling i am just getting more confused!

I make a local cms, something easy, that on localhost works well.
Now i want to put it on a remote server.

I create the database and import the tables.
I create a user for that database.
I upload all the files of the site with FTP.

But instead on seeing the page i see this message:
Host 'xxx' is not allowed to connect to this MySQL server

The problem is that there isn't any php server there, right?
Wamp is the solution no?

Can you explain please what i have to do to configure wamp to have remote access to a server, and making that site working?

Thank you very much!!

Options: ReplyQuote
Re: Remote Access
Posted by: RiggsFolly (---.as13285.net)
Date: May 30, 2013 10:25AM

No the problem is probably that the name of the MySQL server on your remote server is not 'localhost'.

When you created the new database on the remote server there should have been something that told you the location/domain name of the mysql server.

You will need th change the mysql_connect() to use that name instead of localhost.

mysql_connect('NEW_DOMAIN_NAME', 'User', 'Password' )

Options: ReplyQuote
Re: Remote Access
Posted by: johnnyfittizio (---.ngn.lv)
Date: May 30, 2013 11:05AM

Yes, i had a problem of that kind!!
thank you for reply!

Options: ReplyQuote


Sorry, only registered users may post in this forum.