MySQL Erorr

Status
Not open for further replies.

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
I get this erorr when I try to install IPB 2.04...

Code:
 Warning! 

The following errors must be rectified before continuing!
Please go back and try again! 

Connection error:

Access denied for user: 'microtec@localhost' to database 'microtec_forum'

Can anyone tell me how to fix this? I have everything corret. I just nead to do this...
 

Iceman

New Member
Messages
308
Reaction score
0
Points
0
Hmmm...Check your user permissions in MySQL section of CPANEL for that user, and check them all. If that still doesn't work, I don't know.
 

pasawayz

New Member
Messages
48
Reaction score
0
Points
0
got the same problem for me here.

trying to install my forums and this appeared:
Code:
Warning: mysql_connect(): Access denied for user: 'pasawayz_usr@localhost' (Using password: YES) in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 48
 
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 330
 
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 331
phpBB : Critical Error 
 
Could not connect to the database
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
Yes I will try again right now if it dose not work I will post here again!
 

Leon1

New Member
Messages
212
Reaction score
0
Points
0
pasawayz said:
got the same problem for me here.

trying to install my forums and this appeared:
Code:
Warning: mysql_connect(): Access denied for user: 'pasawayz_usr@localhost' (Using password: YES) in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 48
 
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 330
 
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 331
phpBB : Critical Error 
 
Could not connect to the database

did you apply any security mods so far, it looks like some one has changed your data base password, or may be your database is corrupted, check your config.php file for the proper detail database on your server, make a full back up of your database if you have sql tables inserted in your database, create another fresh database and restore the back up to the new one.

Good luck.
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
hey this is my thread can anyone help me. Now I tried to install somthing else and I got the same error...
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
Ok now I get this erorr:

Unable to conntect to server:
Error Number: 1045
Error Description: Access denied for user: 'root@localhost' (Using password: YES)
Please go back and check the details in config.php and try again.

Is the server down or somthin?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Looks like you have your username setup incorrectly... your username should be microtec_USER . So if my database username was dave but my cPanel login was corey my username would really be corey_dave

-Corey
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
no it won't let me edit anything...Here is the photos of what is happening:

photo1.jpg



photo2.jpg


That is the wrong info. and I can not fix it...

photo3.jpg


Then here is the error...
 

dsfreak

New Member
Messages
1,338
Reaction score
0
Points
0
I can tell you EXACTLY what is wrong! What you need to do is find the file: config.php in the directory where the virtuanews installer is, find and open config.php, and edit the things accordingly. If you need help just pm me. I could fix this in only a few secs, if you want me to, or you can do it yourself, your choice.
 

Iceman

New Member
Messages
308
Reaction score
0
Points
0
Find the configuration file it writes to (download the entire program at their site, look at the installation part and find what config file it uses, could be something like 'dbconnect', 'dbinfo', or 'config', but not neccesarily. Should be as easy as finding what it writes to. Then edit that field. If need be, change the CHMOD permissions afterwards, but remember that you did so if you need future access.


Edit: Ah crap, thirty minutes late. Oh well, it's a little more extra info.
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
ok what you have just told me still it dose not work. Can anyone tell me whats wrong..
 

pasawayz

New Member
Messages
48
Reaction score
0
Points
0
Leon1 said:
pasawayz said:
got the same problem for me here.

trying to install my forums and this appeared:
Code:
Warning: mysql_connect(): Access denied for user: 'pasawayz_usr@localhost' (Using password: YES) in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 48
 
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 330
 
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/pasawayz/public_html/planet/forum/db/mysql4.php on line 331
phpBB : Critical Error 
 
Could not connect to the database

did you apply any security mods so far, it looks like some one has changed your data base password, or may be your database is corrupted, check your config.php file for the proper detail database on your server, make a full back up of your database if you have sql tables inserted in your database, create another fresh database and restore the back up to the new one.

Good luck.


nah tried to re-upload phpbb and re-crest a database, but still it wouldn't budge.
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
MicrotechXP said:
ok what you have just told me still it dose not work. Can anyone tell me whats wrong..

Let's begin with your folder.. It is CHMOD to 700 if yes change it to 755.. If it is 755 now check the config.php.. Is it locked...I cannot remember what the CHMOD for locked was but it could be 444 if yes change it to 777..

Did you read the install.txt file or whatever??

now you need to edit the config.php file certainly.. you also need to look into the d\base error issue..

If it is not above, i am not really sure about your problem...
 

dphiance

New Member
Messages
58
Reaction score
0
Points
0
listen to Corey, or have you actually made a database in cPanel, added the user to the database, and gave it all the permissions?

-dphiance
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
Yes I have done all that. I have changed the config.php file and that worked but now I have the same error on another program that I want to install. Here are the pics:

photos.jpg


photos2.jpg


I think there is somthing wrong with the server becasue I have been trying for 2 days now...
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
have you created the user for the database? and also added the user to the database?
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
Sorry but I badly need a screenshot of the MySQL Account Maintenance page... I only need the one that will show us the database and user...

I am going offline in 20 minutes and i will back in 12 hrs...
 
Status
Not open for further replies.
Top