Database installation issues

I am struggling with trying to install my theme, I bought a few days ago and am not finding it easy at all with installation. I can’t add database that I have created. I keep getting error message “access denied to my database” I have checked and checked the username and password and all details are correct.
can someone help me out please…..

7 answers

Profile photo of Admin Staff -30620.00 $tone September 9, 2016

Hi Kingedd1, 
I wonder if you have tried to follow the UB MegaMall guide --
You did post your question in the (Magento 1) MegaMall theme, we have updated to be listed on (Magento 2) UB MegaMall theme instead. If you have any issue while following the guide above, please let us know here. 
PS. My apology if our response is a bit late, as our team is off in the weekend. 
An Nguyen

Profile photo of kingedd1 -40.00 $tone September 9, 2016

I followed the guide as per the link and this is where the issue lies. Am following the quickstart installation process as my store is new therefore the step by step guide. I completed successfully step 1 & 2 and the moved on to step 3 that has 7 mini steps to it. I completed the 1st 2 steps i.e Quickstart downloader welcome page and then the Readiness check. My issue then comes when I go to step 3 that’s “Add database”
this is the error message i get
SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)
I have checked the database server name is correct, username and password is correct and am using localhost as my webserver and database resides in same server…

Profile photo of kingedd1 -40.00 $tone September 10, 2016

Customer service is very poor with you guys, I sent an email (msg) since yesterday and yet no one has gotten back to me. I cannot install this theme on my server however hard I try.
my error message
SQLSTATE[28000] [1045] Access denied for user ‘onomefoo_admin’@’localhost’ (using password: YES)
I’ve configured correctly my database, am using SQL v5.6 and also up to date PHP
Is there any thing I could configure with regards to the actual theme files that I have downloaded..
it will be a shame to cancel this purchase cos this theme look pretty good in my views…
please please can someone get back to me asap

Profile photo of Frank 1460.00 $tone September 12, 2016

Hi Kingedd1,
I am sorry for getting back to you this late, as my team has just been back from our weekend. 
Regarding the issue “SQLSTATE[28000] [1045] Access denied for user ‘onomefoo_admin’@’localhost’ (using password: YES)”, it refers to a database connection issue. It’s probably because either your username and / or password don’t match or your account doesn’t have the privilege for this execution.
Please check your credentials and permission again. And let me know how it goes then.

Profile photo of kingedd1 -40.00 $tone September 12, 2016

thanks for your reply although late, however I have managed to get through that now….
I can get to the back end i.e Admin Dashboard but can’t see my home page….

Profile photo of Frank 1460.00 $tone September 12, 2016

Hi Kingedd1,
Please try the workaround below:
After completing QuickStart installation, you should run the following commands:
php -f bin/magento indexer:reindex
php -f bin/magento cache:clean
Navigate to your root folder and: 
+ remove all sub folders in folder var/
+ remove all sub folders in pub/static/
( Note: do not remove the file .htaccess in the folder var/, pub/static/)
Then run the command: 
php -f bin/magento setup:static-content:deploy
Please let me know how it goes then.


Please login or Register to Submit Answer

Written By