Current location: Hot Scripts Forums » Other Discussions » Database » mysql_connect(): Access denied for user


mysql_connect(): Access denied for user

Reply
  #11 (permalink)  
Old 11-17-09, 01:08 PM
jj5484 jj5484 is offline
New Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Same issue....Here is the problem.

Folks.

Sorry to bother you with this. I am very new to this and am trying to pick up new skills.
Here is the deal.

I have a USB thumbdrive that I have loaded with apache, mysql, and PHP, downloading the latest package from XAMPP yesterday. I apparently have loaded everything right and am able to get the test pages to work correctly. So, I decided to try and get a little bit more into this by downloading a free recipe script (PHP). After unzipping it, I removed everything from the htdocs folder and then moved the recipe script contents into it. So far, so good.

Next I started the XAMPP control panel and got both Apache and Mysql running. Ok, I then went to http://localhost/ and the install form came up. Here is what I put in for the Installation Options

Hostname (for Database Server) localhost
Username (for Database) root
Password (for Database)
Database name (for Database) root_recipes
Admin Username (to create Database) wampp
Admin Password (to create Database) xampp

When I try to go ahead I get the following:
Connecting to Database server...
Using hostname(localhost) GOOD
Using Username(wampp) GOOD
Using Password(xampp) GOOD
Checking Connection to database server as admin FAIL --Could not connect to database server
Checking Creating database POSSIBLE PROBLEM --Error creating database (Access denied for user 'ODBC'@'localhost' (using password: NO))
Checking Connection to database server as user GOOD

I am just learning so I am not sure what to do next. In reading the comments to this string, I see that people are making changes to files -- which ones????

Any assistance would be greatly appreciated.
Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iframe Access Denied on window.open sharijl JavaScript 3 10-01-08 10:15 AM
Warning: mysql_query() [function.mysql-query]: Access denied for user 'mylogi'@'localhost' (using pa tut123408 PHP 6 05-28-08 12:50 AM
cross server error: access is denied kuraiza JavaScript 1 03-14-06 02:31 PM
Sql Server does not exists or access denied error. pdnitin ASP.NET 2 11-15-04 01:06 AM
Permission denied when access excel obj msrnivas ASP.NET 0 12-05-03 03:18 AM


All times are GMT -5. The time now is 12:37 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.