Raised This Month: $51 Target: $400
 12% 

Issue [STORE] Database problem.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Error3488
New Member
Join Date: Mar 2016
Old 06-19-2016 , 06:14   [STORE] Database problem.
Reply With Quote #1

Hey!

I installed the plugin store on the server, I have uploaded webpanel, I connected everything to the database hosting the page on which it is webpanel. I allowed the server to connect to the database and the server pops up the problem: No categories are currently available. So I looked into the store logs and my eyes appeared something like this:

HTML Code:
L 06/19/2016 - 12:05:54: [Store] Connection to SQL database has failed! Error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 06/19/2016 - 12:05:54: [Store] Connection to SQL database has failed! Error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 06/19/2016 - 12:05:54: [Store] Connection to SQL database has failed! Error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 06/19/2016 - 12:05:54: [Store] Connection to SQL database has failed! Error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 06/19/2016 - 12:05:54: [Store] Connection to SQL database has failed! Error: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Here is my database.cfg:

HTML Code:
	"store"
	{
		"driver"        "mysql"
		"host"          "91.228.199.230"
		"database"      "v116993_store"
		"user"          "v116993_store"
		"pass"          "password"
	}
Please help me!

PS. Sorry for my english, Im from Poland!
Error3488 is offline
barvica
Senior Member
Join Date: Oct 2014
Old 06-23-2016 , 12:42   Re: [STORE] Database problem.
Reply With Quote #2

Put that instead of your host ip:

"/var/lib/mysql/mysql.sock"

Last edited by barvica; 06-23-2016 at 12:42.
barvica is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode