View previous topic :: View next topic |
Author |
Message |
Truplaya3208112 -
Joined: 02 Jul 2004 Posts: 47
|
Posted: Fri Oct 15, 2004 9:46 pm Post subject: MySQL |
|
|
I just registered a domain and it has MySQL and all but it's a little confusing. Is there a link I could put in my config files instead of local host. Like http://myIP:MySQL server? _________________
We don't have many users. Please help us out and sign up and be active
http://tpcpro.no-ip.com
http://tpcpro.no-ip.com/forum |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Fri Oct 15, 2004 10:17 pm Post subject: |
|
|
Its no link, just your IP/DNS ie you can use your domain. _________________
 |
|
Back to top |
|
 |
Truplaya3208112 -
Joined: 02 Jul 2004 Posts: 47
|
Posted: Fri Oct 15, 2004 10:55 pm Post subject: |
|
|
No, sya for instance I just moved my phpbb files to my new domain, and in my config.php file the connection to my database was localhost. Well now that I'm notusing localhost could I put http://myIP or http://myIP:MySQLport instead of local host? _________________
We don't have many users. Please help us out and sign up and be active
http://tpcpro.no-ip.com
http://tpcpro.no-ip.com/forum |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Fri Oct 15, 2004 11:22 pm Post subject: |
|
|
As i said...its no link just IP/domain. So you wouldnt put http://myIP you would just put myIP or myIP.com _________________
 |
|
Back to top |
|
 |
Truplaya3208112 -
Joined: 02 Jul 2004 Posts: 47
|
Posted: Sat Oct 16, 2004 5:19 am Post subject: |
|
|
ok. i put my ip where localhost used to be and I get these errors:
Code: | Warning: mysql_connect(): Host 'Home' is not allowed to connect to this MySQL server in C:\Program Files\Abyss Web Server\htdocs\forum\db\mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Abyss Web Server\htdocs\forum\db\mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Abyss Web Server\htdocs\forum\db\mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database |
BTW, as you probably notice, I'm testing at on my PC instead of my domain _________________
We don't have many users. Please help us out and sign up and be active
http://tpcpro.no-ip.com
http://tpcpro.no-ip.com/forum |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Sat Oct 16, 2004 5:27 am Post subject: |
|
|
If the MySQL server is external, make sure that, that server allows connections from outside localhost. _________________
 |
|
Back to top |
|
 |
|