June 26, 200818 yr I have a login code and I don't understand how to get certain parts of the script. DEFINE ('DB_USER', 'YOUR DATABASE USERNAME'); DEFINE ('DB_PASSWORD', 'YOUR DATABASE PASSWORD'); DEFINE ('DB_HOST', 'localhost'); How would I find my database username, is it just my mysql login username? Is my password my mysql login password? How do I find my local host, or does that just stay the same?
June 26, 200818 yr I have a login code and I don't understand how to get certain parts of the script.DEFINE ('DB_USER', 'YOUR DATABASE USERNAME'); DEFINE ('DB_PASSWORD', 'YOUR DATABASE PASSWORD'); DEFINE ('DB_HOST', 'localhost'); How would I find my database username, is it just my mysql login username? Is my password my mysql login password? How do I find my local host, or does that just stay the same? when you set up the databse you will have given a user priviliges to the database, use that username and password. Also localhost will not have to be change unless the databse is on a seperate server from the actual website.
June 26, 200818 yr Ok thanks If its local, their is a fair chance your username will be "root" your password may well be just blank unless you have specified one. so your code would be DEFINE ('DB_USER', 'root'); DEFINE ('DB_PASSWORD', ''); DEFINE ('DB_HOST', 'localhost'); Pat
Create an account or sign in to comment