PHP w/ MySQL

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
apjake
-


Joined: 03 Oct 2003
Posts: 1
Location: Cleona

PostPosted: Fri Oct 03, 2003 3:04 am    Post subject: PHP w/ MySQL Reply with quote

Okay, wow, where to start... I bought a script off of someone. It needs MySQL to run, so I have MySQL, and the green light is on :wink: But I still haven't a clue what I'm doing. I don't know how to make a new database, or WHERE to put it. Alls I know is here's the part of the php file for MySQL:
Code:
/* Database Info */
   
   // Database Name
   $_mysql_db =    '';

   // Database Host
   $_mysql_host =    'localhost';

   // Database Username
   $_mysql_user =    '';

   // Database Password
   $_mysql_pass =    '';


As far as I'm concerned, I don't need it passworded or anything, I just need it to work!!! And please please please don't tell me to "read the manual," you're here to help, not redirect.

Thanks
Back to top View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Fri Oct 03, 2003 11:59 pm    Post subject: Reply with quote

Welcome apjake.

To start off,
1. "Database Password" and "Database Username" is what your script needs to communicate with mysql.
These are located in the my.ini file that you made when installing mysql.

2. "Database Name" is the database that is created in mysql that holds the info that your script generates.
If you don't know how to create a database, I would suggest installing phpMyAdmin. There is an excellent
tutorial for it here: http://www.aprelium.com/forum/viewtopic.php?t=1071

3. Usually the "Localhost" part can be left as-is.

I hope this helps a little.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP 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