PDA

View Full Version : 2 SERVERS? 1 VB..and 1 DB?


b00k
02-11-2005, 04:01 PM
Is it possible?

The old phpbb server was upto aprox 6000 users and we found the 1 server we were on couldnt keep up.

Is it possible to split up the forums and place them on two servers?

Currently we have 1 server for the site, and another admin has his own on the same provider but doesnt use it.

Thoughts please?

mavrick
02-11-2005, 04:13 PM
Yes you can do that..... you need to specifiy on install where the mysql server is.

b00k
02-11-2005, 04:17 PM
Yes you can do that..... you need to specifiy on install where the mysql server is.

i need to specify on the 2nd install that its on the 1st server?

sounds pretty sweet! imma give it a shot

UPDATE:

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/rwp/public_html/online/includes/db_mysql.php on line 140

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.

Below ive tried both www.site.com:port and ip:port . I am assuming it wont connect due to possible restriction from the current DB host?


// ****** DATABASE SERVER NAME ******
// This is the hostname or IP address of the database server.
// It is in the format HOST:PORT. If no PORT is specified, 3306 is used.
// If you are unsure of what to put here, leave it at the default value.
$servername = '1.1.1.1:123';

Marco van Herwaarden
02-11-2005, 07:28 PM
Most hosting providers allow only access to a MySQL database from the localhost. Ask you're hosts support on this question.

Michael Morris
02-12-2005, 12:46 AM
If you have phpmyadmin running on your db server go into it and click on permissions. Bring up the user account you made for vbulletin. You will see a list of hosts that user can connect from. By default, the only connection the user is allowed to have is "localhost". Find the IP of your frontend server and type that in to the host list.