| Lauren |
|
NetHosted Customer
Joined: 09 Feb 2005 Posts: 7
|
Posted: Sat Mar 11, 2006 11:54 am Post subject: Not allowed to connect to MySQL server?! |
| |
Hi,
I'm tested my access to MySQL and got this error message:
"Warning: mysql_connect(): Host 'pluto.nethosted.co.uk' is not allowed to connect to this MySQL server"
I tried using my control panel username and password, and following the instructions here: http://www.nethosted.co.uk/helpdesk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=9&nav=0 but I still get the same error message.
Sorry if this is a really obvious question, I'm really new to PHP and MySQL (I.e I started learning it a couple of hours ago).
Thanks in advance for any help  |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5651
|
Posted: Sat Mar 11, 2006 12:04 pm Post subject: |
| |
If you're trying to connect via a script you should use the hostname: localhost
Let me know if that helps,
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Lauren |
|
NetHosted Customer
Joined: 09 Feb 2005 Posts: 7
|
Posted: Sat Mar 11, 2006 12:13 pm Post subject: |
| |
That's sorted it, thanks  |
|
| Back to top |
|
User Permissions |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
| |