so tell me whats wrong with mine:
Quote:
<?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "prv"; ?>
Printable View
so tell me whats wrong with mine:
Quote:
<?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "prv"; ?>
did you make a database and user?
um db name is prv and thats all i did
okay
you need to make a database on cpanel
and a user
that should be under mysql databases
then click add user to database
the info:
cpanelname_dbusername = your cpanel name and the database usernameQuote:
<?php $dbhost = "localhost"; $dbuser = "cpanel_dbusername"; $dbpass = "dbpass"; $dbname = "cpanel_dbname"; ?>
ex: bobster_sue
cpanelname_dbname = your cpanel name and database name
ex: bobster_dbname
now it just says
Quote:
Access denied for user 'andre_prv'@'localhost' to database 'andre_prv'
Did you add the user to the database in cpanel?
This is easier once you learn how to do that
Got it working, relized i had to add the user to the actual db not just create one... ty for ur help +rep
Thanks, if you need anymore help with anything like this tell me =]
Lol i already had the files but no license lol
Sounds pretty good. :)