Quicksilver Posted March 9, 2006 Posted March 9, 2006 (edited) hello there need Help forum u lot , if u can , Right Just set new site up workin ok and till log in admin , i enter Username Ok password ok , and till it Ok This comes up Warning: mysql_connect(): Access denied for user 'assaulto_dns '@'localhost' (using password: YES) in /home/assaulto/public_html/dm/adminy/db_mysql.inc on line 72 Database error: connect(localhost, assaulto_dns , $Password) failed. MySQL Error: () Session halted. ..................................................................................... ............ This Line 72 forum db_mysql.inc ..................................................................................... .................. $this->Link_ID=mysql_connect($Host, $User, $Password); Edited March 9, 2006 by Quicksilver Quote
TCH-Don Posted March 9, 2006 Posted March 9, 2006 Welcome to the forums Quicksilver Just to be sure of all your settings here is my database connect check list -- databse connect ---- Be sure that in MySql you 1 - created the database 2 - created a user 3 -added the user to the database (go back to MySql and find the Add user select the user and database, and then Add user to database) Then to connect to the database in a script use: host: localhost database: yourCpanelName_databaseName user: yourCpanelName_databaseUser password: mypassword * Note password is just as the password, do not add the CpanelName to it. --------------------------- Quote
TCH-JimE Posted March 9, 2006 Posted March 9, 2006 Welcome to the fourms! TCH-Don has the correct formula, very easy to forget a single step and not have it working! Let us know how you get on! JimE Quote
Quicksilver Posted March 9, 2006 Author Posted March 9, 2006 heyc Thanks for Replay ,,Its still not workin Quote
TCH-Bruce Posted March 9, 2006 Posted March 9, 2006 Make sure your variable names for your DB and username are prefaced with your cpanel name cpanelname_database-name cpanelname_user-name Quote
Quicksilver Posted March 9, 2006 Author Posted March 9, 2006 Make sure your variable names for your DB and username are prefaced with your cpanel name cpanelname_database-name cpanelname_user-name Did all that mate still no go Quote
TCH-JimE Posted March 9, 2006 Posted March 9, 2006 Hello, Could you please open a support ticket and a tech will take a quick look, should be quick to solve. JimE Quote
Quicksilver Posted March 9, 2006 Author Posted March 9, 2006 Hello, Could you please open a support ticket and a tech will take a quick look, should be quick to solve. JimE u got support ticket on yr forums ? Quote
TCH-Bruce Posted March 9, 2006 Posted March 9, 2006 Link at the top of the page or in my signature. You are hosted here at TCH, right? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.