Database connection failed: Access denied - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Databases - MySQL, SQL, Oracle, Access and others

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-19-2011, 11:14 AM   #1 (permalink)
Regular User
 
digitaldrug's Avatar
 
Join Date: Aug 2011
Location: Venice
Posts: 21
Default Database connection failed: Access denied

Hi Guys,

I tried to have a look around here but it seems anybody has got this problem.

I would really appreciate your help to fix this problem.

I have a wp site with some credential (DB, USERNAME, PWS) and it work fine.

However if I try to create a connection to the db myself, using the same credential the connection doesn't work and i get this error:

Database connection failed: Access denied for user 'my_user'@'localhost' (using password: YES)

I have also tried to create a new db and a new user but it seems have the same problems.

From my php panel I have associated te user to the db grant all privileges.

Any help?

Thanks a lot
digitaldrug is offline   Reply With Quote
Sponsored Links
Old 11-09-2011, 11:21 PM   #2 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 5
Default Re: Database connection failed: Access denied

Quote:
Originally Posted by digitaldrug View Post
Hi Guys,

I tried to have a look around here but it seems anybody has got this problem.

I would really appreciate your help to fix this problem.

I have a wp site with some credential (DB, USERNAME, PWS) and it work fine.

However if I try to create a connection to the db myself, using the same credential the connection doesn't work and i get this error:

Database connection failed: Access denied for user 'my_user'@'localhost' (using password: YES)

I have also tried to create a new db and a new user but it seems have the same problems.

From my php panel I have associated te user to the db grant all privileges.

Any help?

Thanks a lot
1. You should open database once more while closing all the windows of your system and login username and password .
2. Go to tools and cross check if the database is in connected mode or disconnected mode.
3. One more think use windows authentication true for SQL server .
jaffaryvincent is offline   Reply With Quote
Old 11-26-2011, 09:13 AM   #3 (permalink)
Regular User
 
digitaldrug's Avatar
 
Join Date: Aug 2011
Location: Venice
Posts: 21
Default Re: Database connection failed: Access denied

hi no it was another problem on a config file
Thanks for helping
digitaldrug is offline   Reply With Quote
Old 12-12-2011, 09:54 AM   #4 (permalink)
Regular User
 
Join Date: Dec 2011
Posts: 13
Default Re: Database connection failed: Access denied

Interesting info...
123samuel is offline   Reply With Quote
Old 02-25-2012, 08:50 AM   #5 (permalink)
Regular User
 
Join Date: Jul 2005
Posts: 47
Default Re: Database connection failed: Access denied

You did not post your connection script for us to review.
Perhaps this script can help you test your connection.
sandman is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 08:18 AM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting