Mysql database...

Status
Not open for further replies.

Brash911

New Member
Messages
3
Reaction score
0
Points
0
Hello, I am trying to setup a Diesel Job Site script, and on my install.php it asks for mysql server, so i input localhost. I have also tried just my domain address. I have created the database in my cPanel, and attached a user name to it, but it still won't write to the mysql database?! it doesn't come back with an error, just the same form. and when I try to access admin i get this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/brash911/public_html/resume/connect.php on line 3
Access denied for user 'root'@'localhost' (using password: NO)

To create the table in the database, the install page askes for the following things:
MySql Server Database Name Mysql Username Mysql Password This Site`s Name Your E-mail The URL
(can be seen in the address bar) can someone help me? Don't know what i could be doing wrong.. Also i changed the CHMODE to 777 on the required files and folders...
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Use localhost for server.
What is the username and the name of the database you are giving it?
 

Brash911

New Member
Messages
3
Reaction score
0
Points
0
Use localhost for server.
What is the username and the name of the database you are giving it?

Username:brash911_brash
DBname :brash911_isis

I think I know the problem... the software requires that register_globals be ON. And I noticed they are off, and the .htaccess file can't be altered to turn them on, is there another way to turn globals on?
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Did you create that database and user and assign the user full permissions on the database?

Register globals are off. They create a huge security risk.
 
Status
Not open for further replies.
Top