Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 24th June 2008, 19:56
meth meth is offline
Junior Member
Join Date: Jun 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default Error accesing mysql database

I have a website running under Debian 4.0 server with ispconfig, i have created a site and a database, when the php script try to connect to mysql i get the error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'web2db1'@'localhost' (using password: YES) in /home/web2/web/class/dbsqlclass/drivers/mysql.driver.php on line 53

the password and user in the database configuration file are ok, because i use these data to access trough phpMyAdmin and all is working fine except that problem.
Reply With Quote
Sponsored Links
Old 25th June 2008, 13:57
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts

I guess you mixed up username and database name. The username is web2u1 and not web2db1.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 25th June 2008, 14:06
meth meth is offline
Junior Member
Join Date: Jun 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts

Thanks it was my mistake.
Reply With Quote


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgradeded to mysql4.1 breaks mysql client PoleCat Installation/Configuration 5 22nd April 2008 17:38
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
mysql clustering problem : cannot create table in database prince.fer Server Operation 2 16th April 2007 17:03
virtual mail boxes setup satimis Server Operation 3 25th January 2007 18:32
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04

All times are GMT +2. The time now is 03:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.