News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - paoloeuvrard

#1
Fresh Installation / Can't connect to database
February 06, 2014, 09:09:54 PM
Hi,

the installation always gives me the same error:
2::warning
mysql_connect(): Access denied for user 'vietnams_paolo'@'localhost' (using password: YES) in /home/vietnams/public_html/food-delivery/core/database/mysql.php on line 46

I tested it with a basic:
<?php
$server   = "localhost";
$database = "mydatabase_cart";
$username = "mydatabase_user";
$password = "######";

$mysqlConnection = mysql_connect($server, $username, $password);
if (!$mysqlConnection)
{
  echo "Please try later.";
}
else
{
mysql_select_db($database, $mysqlConnection);
echo "everything is ok.";
}
?>

No problem. I tried to change localhost to my server address, doesn't work either.

I don't know what to do anymore.

Can somebody help?

Thanks,
Paolo

Forum Rules Code of conduct
AbanteCart.com 2010 -