View Full Version : Php help
kylecool
03-24-2001, 01:41 PM
I know cgi, but all of the good bbs boards are in php. I got this version of bulleton board lite, and I installed it, but I have a question about databases, and I hate this. If anyone can help, please do. Also take my poll.
petesmc
03-24-2001, 03:20 PM
What is the problem?
peter
kylecool
03-24-2001, 05:17 PM
Here are the variables. I know u help Brendan, so her eit is. i don't get this databases thing.
// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql";
// hostname or ip of server
$servername="localhost";
// username and password to log onto db server
$dbusername="kylecool_new";
$dbpassword="";
// name of database
$dbname="Kylecool.com's Forum";
//password needed to enter the control panel
$cppassword="";
I can't setup tese databases and assign usernames. i don't even kno if these variables are corrct.
steven
03-24-2001, 06:01 PM
What is the username that you set up on your HR account? By providing us with this, it will help us resolve your config file, because the variables you have don't look right.
petesmc
03-24-2001, 06:04 PM
I edited the password out as it showed his password and he didn't realise
Peter
kylecool
03-24-2001, 06:40 PM
how did u edit it? U are the admin? i forog. that wast my password. i mad eit up. i put as password imnottelling or something. my username in kylecool . help me
steven
03-24-2001, 06:51 PM
Kyle-
This is how I would set it up
// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql";
// hostname or ip of server
$servername="localhost";
// username and password to log onto db server
$dbusername="kylecool";
$dbpassword="YourPassword";
// name of database
$dbname="kylecool_forums";
//password needed to enter the control panel
$cppassword="YourPassword";
Make sure that you set up a mysql database in your Hostrocket CP, and the name of the database is forums.
Then run the install script and it will be up and running in less than 5 minutes
winzor
03-24-2001, 07:07 PM
Actually it should be more like:
// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql";
// hostname or ip of server
$servername="localhost";
// username and password to log onto db server
$dbusername="kylecool_username";
$dbpassword="YourPassword";
// name of database
$dbname="kylecool_forums";
//password needed to enter the control panel
$cppassword="YourPassword";
kylecool
03-24-2001, 07:14 PM
ill try to make the satabase thing, but i don't get it too much. im getting better at php though.
kylecool
03-24-2001, 07:21 PM
i think i actulally did ut, but i got this error.
Attempting to connect...
Warning: Access denied for user: 'kylecool_kylecool@localhost' (Using password: YES) in /home/kylecool/public_html/vblite/admin/db_mysql.php on line 31
Warning: Supplied argument is not a valid MySQL-Link resource in /home/kylecool/public_html/vblite/admin/db_mysql.php on line 37
how do i fix this..
steven
03-25-2001, 06:32 AM
try the variables that I posted above, and it should work.
kylecool
03-25-2001, 01:56 PM
Thanks, but I found a better one. This one is way cooler, and its free. I can now manage and make mysql databases and I can also edit php scripts. I have a basic understanding. Look at it and sign up at
http://www.kylecool.com/forum/index.php
Thanks!
-Kyle
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.