![]() |
|
#1
|
|||
|
|||
![]() Code:
Warning: mysql_connect() [function.mysql-connect]: Host '10.50.0.40' is not allowed to connect to this MySQL server in /home/a3035246/public_html/adopt/inc/functions.php on line 13 |
#2
|
|||
|
|||
![]()
You will have to change the details in inc > config.php for the new server. What that error means is that your new site is trying to connect to the database on the old server and the old server is refusing the connection.
Are you trying to run the files from one web host and have the database on the other? |
#3
|
|||
|
|||
![]()
no, i was editing the files and something went wrong, so i reuploaded a clean versoin of the adoptables script. It is on the same server and host.
|
#4
|
|||
|
|||
![]()
Double check your database information. The error means that the script cannot connect with the information provided, which likely means the details are incorrect. :)
|
#5
|
|||
|
|||
![]()
Yep :P I am soooo stupid, i looked at the config and didnt even realise the URL and path were form my other site XD Lol i actually feel like an idiot now haha
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blank page, MySQL Database Error? | MeinKat | Questions and Supports | 22 | 01-17-2015 01:33 PM |
Error connecting to MySQL | draugluin | Questions and Supports | 4 | 10-26-2011 08:29 AM |
Error connecting to MySQL | Clyfia | Questions and Supports | 8 | 01-08-2011 02:38 AM |
Cannot Connect to MySQL Error | SNK2713 | Questions and Supports | 4 | 06-20-2010 08:42 PM |
MySQL Error | sully | Questions and Supports | 8 | 12-10-2009 03:18 PM |
What's New? |
What's Hot? |
What's Popular? |