Installation Proble...
 
Notifications
Clear all

Installation Problem- Access Denied

16 Posts
7 Users
0 Reactions
7,617 Views
(@guest2368)
Posts: 0
 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'abandonedandrebo'@'localhost' (using password: YES) in /www/vndv.com/a/b/a/abandonedandreborn/htdocs/install/install.php on line 903

That's coming up at the top of the page, as far as I can tell I've got all my setting right. Any ideas anyone?

Thanks heaps


 
Posted : 12/08/2008 7:18 am
(@babaca)
Posts: 722
Member Moderator
 

It looks like it is not connecting to the mySQL database. Are you sure you have the database login info correct in the config.php file?


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 12/08/2008 5:37 pm
(@guest2368)
Posts: 0
 

Thanks for the tip.

I can't see anything wrong but who knows... can you let me know where I can find out what the settings are supposed to look like in it?


 
Posted : 13/08/2008 5:33 am
(@becca)
Posts: 553
Honorable Member
 

You need a username and database name in your settings for when you first installed it. Make sure that you've created a database and that you're using the right settings. It should be in your control panel since you're hosted with Zymic.


 
Posted : 13/08/2008 2:09 pm
(@guest2368)
Posts: 0
 

I've done that and it looks right...

this is what i've got in the config file

<?php
$dbhost = "localhost";
$dbname = "******";
$dbuser= "
********";
$dbpass = "password is blanked out for security reasons";
$sitekey = "";
$settingsprefix = "settings";

include_once("includes/dbfunctions.php");
if(!empty($sitekey)) $dbconnect = dbconnect($dbhost, $dbuser,$dbpass, $dbname);

?>

Can you guys see anything wrong with that?

Admin edit: I edited out the dbuser and password to protect your security.  No sense in giving the hackers a hand.


 
Posted : 14/08/2008 5:19 am
(@carissa)
Posts: 791
Member Moderator
 

You need something in sitekey.


 
Posted : 14/08/2008 3:43 pm
(@guest2368)
Posts: 0
 

Thanks I'll try that!


 
Posted : 15/08/2008 6:33 am
(@guest2368)
Posts: 0
 

Does this look right as it still isn't working...

<?php
$dbhost = "localhost";
$dbname = "*******";
$dbuser= "
********";
$dbpass = "----";
$sitekey = "wP8TtqvfwB";
$settingsprefix = "settings";

include_once("includes/dbfunctions.php");
if(!empty($sitekey)) $dbconnect = dbconnect($dbhost, $dbuser,$dbpass, $dbname);

?>

Admin edit: Blanked out username and password.  Don't help the hackers.


 
Posted : 15/08/2008 6:50 am
(@babaca)
Posts: 722
Member Moderator
 

Is there a space after the ?> at the end? In the past sometimes if there was a line break or space after that last part of the file it would cause problems.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 15/08/2008 2:09 pm
(@guest2368)
Posts: 0
 

no space

Now its coming up with

A fatal MySQL error was encountered.
ERROR: Failed to connect to the database!


 
Posted : 20/08/2008 6:09 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

You need to make sure the name/user/password/host details are actually correct. A common problem is that sometimes people forget to add the user to the database? Try that. :3


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 20/08/2008 9:16 am
(@guest2449)
Posts: 0
 

Hi - I'm having the same problems as above and I know all my information is correct (I checked it with my host.) Help?


 
Posted : 03/10/2008 4:00 pm
(@datapard)
Posts: 31
Eminent Member
 

I've run into some of the the same problem.

Warning: mysqli_connect() [function.mysqli-connect]: (42000/1044): Access denied for user ''@'localhost' to database 'fanlibrary' in /var/www/[directoryname]/eFiction343/includes/mysqli_functions.php on line 7
A fatal MySQL error was encountered.
ERROR: Failed to connect to the database!

For some reason it didn't acknowledge the username that should preceed the @.

Then when I tried to start over I got:

A fatal MySQL error was encountered.
ERROR: Failed to connect to the database!

I am trying to install this on my home linux network to familiarize myself with it, before putting on my website.

I running:
Debian 4.0 [Etch]
Apache 2
PhP 5.2
mySQL 5

Anybody know what I'm doing wrong here? πŸ˜•


There is always more than one way to accomplish any job.  True talent is picking the best way.

 
Posted : 26/10/2008 11:49 pm
(@tammy)
Posts: 2577
Member Moderator
 

Warning: mysqli_connect() [function.mysqli-connect]: (42000/1044): Access denied for user ''@'localhost' to database 'fanlibrary' in /var/www/[directoryname]/eFiction343/includes/mysqli_functions.php on line 7

You have no username.  Your settings are empty. 


 
Posted : 29/10/2008 11:27 pm
(@datapard)
Posts: 31
Eminent Member
 

Warning: mysqli_connect() [function.mysqli-connect]: (42000/1044): Access denied for user ''@'localhost' to database 'fanlibrary' in /var/www/[directoryname]/eFiction343/includes/mysqli_functions.php on line 7

You have no username.  Your settings are empty. 

That's what has me confused.  I had thought I had set everything.  The user should have shown as "datapard'.  Any ideas as to how I messed this up?


There is always more than one way to accomplish any job.  True talent is picking the best way.

 
Posted : 30/10/2008 6:10 pm
Page 1 / 2
Share: