MySQL

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Truplaya3208112
-


Joined: 02 Jul 2004
Posts: 47

PostPosted: Fri Oct 15, 2004 9:46 pm    Post subject: MySQL Reply with quote

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 View user's profile Send private message
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Fri Oct 15, 2004 10:17 pm    Post subject: Reply with quote

Its no link, just your IP/DNS ie you can use your domain.
_________________
Back to top View user's profile Send private message AIM Address
Truplaya3208112
-


Joined: 02 Jul 2004
Posts: 47

PostPosted: Fri Oct 15, 2004 10:55 pm    Post subject: Reply with quote

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 View user's profile Send private message
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Fri Oct 15, 2004 11:22 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address
Truplaya3208112
-


Joined: 02 Jul 2004
Posts: 47

PostPosted: Sat Oct 16, 2004 5:19 am    Post subject: Reply with quote

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 View user's profile Send private message
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Sat Oct 16, 2004 5:27 am    Post subject: Reply with quote

If the MySQL server is external, make sure that, that server allows connections from outside localhost.
_________________
Back to top View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group