SQL Username and Password

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
darkcammo
Registered User
Posts: 17
Joined: Sat Sep 15, 2007 2:13 am

SQL Username and Password

Post by darkcammo »

Is there any way to change the username and password set during the installation of phpbb 2 after it has already been installed?

Unfortunately I foolishly deleted the username my phpbb2 forum was using.

Code: Select all

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'fayt_admin'@'gator113.hostgator.com' (using password: YES) in /home/fayt/public_html/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/fayt/public_html/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/fayt/public_html/db/mysql4.php on line 331
phpBB : Critical Error 

Could not connect to the database 
Last edited by ric323 on Thu Dec 11, 2008 9:07 pm, edited 1 time in total.
Reason: Topic icon changed
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: SQL Username and Password

Post by ameeck »

Yes, open config.php and edit the connection settings.
darkcammo
Registered User
Posts: 17
Joined: Sat Sep 15, 2007 2:13 am

Re: SQL Username and Password

Post by darkcammo »

thank you very much for the swift and acurate response my friend

problem solved
Locked

Return to “2.0.x Support Forum”