Log in

View Full Version : database connecting :)


sabret00the
10-17-2003, 11:08 PM
what do vb pages call the following information with

database name
database username
database password

i was making something and changed mine but think it's the route of a slowed page as it now connects to the database twice.

assassingod
10-17-2003, 11:13 PM
I'm not totally sure what you're asking, but take a look at admin/config.php

Velocd
10-17-2003, 11:15 PM
Eh? You mean.. what values, or by what method?

It's called by the mysql_connect() function in the DB_site class.

sabret00the
10-17-2003, 11:20 PM
i mean like these

$host = "localhost"; //DB-Servername
$user= "XXXXX"; //DB-Username
$password= "XXXXXX"; //DB-Password
$database="XXXX"; //vbulletin database name

but they're wrong

sabret00the
10-17-2003, 11:21 PM
found em

// hostname or ip of server
$servername="localhost";
// username and password to log onto db server
$dbusername="XXXXX";
$dbpassword="XXXXX";


almost forgot, thanks assassin :)