warmbells Posted July 3, 2014 Report Share Posted July 3, 2014 Hi, I have set up everything as per instructions and changed the file permissions, when I add the database information and click continue I get the following error message: MDB2 Error: connect failed connect: [Error message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] [Native code: 2002] [Native message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] Installation failed to create the database DM_13667_revive_3 Any ideas? Gerald Quote Link to comment Share on other sites More sharing options...
Eliza0406 Posted July 5, 2014 Report Share Posted July 5, 2014 Hi, Check with your Databse Login details ( username and password ). Quote Link to comment Share on other sites More sharing options...
Snoork Hosting Posted July 8, 2014 Report Share Posted July 8, 2014 Make sure you have created a MySQL database inside your server. You will then need to assign permission to the database, so MySQL database and user cam connect. Once that is done, input the database info over to Revive and you're all set. andrewatfornax 1 Quote Link to comment Share on other sites More sharing options...
sparksromeo Posted September 22, 2015 Report Share Posted September 22, 2015 (edited) This is what I get.. See attached file.I manually set up MySQL db. "Database will be created if it does not exist" what's that all about? I have other apps where the db's were created automatically and manually with no problems. Any suggestions??Any suggestions? Edited September 22, 2015 by sparksromeo Quote Link to comment Share on other sites More sharing options...
vicos Posted September 22, 2015 Report Share Posted September 22, 2015 1) Did you grant full SQL privs to the mysql user you specified2) are the username, password, and database name you specified correct. Open a shell and try connecting to the database from the command line to test your parameters: mysql -umyusername -pmypassword mydatabasename3) The host is usually 'localhost.' If you specify a remote host, your host needs to be specified in that server's remotehosts for mysql or it will not be allowed to connect. Quote Link to comment Share on other sites More sharing options...
Adclues Posted November 29, 2015 Report Share Posted November 29, 2015 (edited) I am getting the following error, I have checked the database login details they are working fine.MDB2 Error: connect failed connect: [Error message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] [Native code: 2002] [Native message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] Installation failed to create the database littleadserver Edited November 29, 2015 by Adclues Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted March 18, 2017 Report Share Posted March 18, 2017 Possibly: https://documentation.revive-adserver.com/display/DOCS/Error+Code+2002+with+Local+MySQL+Database Quote Link to comment Share on other sites More sharing options...
Mohammed Posted November 26, 2019 Report Share Posted November 26, 2019 I am also having the same problem and I cannot find the solution. Has anyone solved this. Please advice. Mohammed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.