Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) #36

Open
lisuwang opened this issue Jul 1, 2018 · 0 comments

Comments

@lisuwang
Copy link

lisuwang commented Jul 1, 2018

when I install rms in ubuntu 17.10, I always meet an error as below:
maybe the RMS is not compatible with the 17.10 ? maybe the open source is dead now ?
I saw the last update is 2016!

ubuntu@ubuntu-ThinkPad-T450:~/rms/install$ ./install.bash


| _ | / / |
| |
) | |/| _
\
| _ <| | | |) |
|
| __| |
|
___/

Robot Management System Setup
Author: Russell Toris - [email protected]

WARNING: This is an automated setup script.
It will create a fresh install of the RMS.
Any older versions of RMS will be deleted.

Continue with installation? [Y/n] y

Setting up LAMP and PEAR...
updating sources...
[sudo] password for ubuntu:
installing LAMP...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
enabling Apache mod-rewrite...
enabling PHP mcrypt...

Setting up CakePHP...
adding CakePHP channel to PEAR...
installing CakePHP via PEAR...
cakephp/CakePHP is already installed and is the same as the released version 2.5.8
install failed

Linking RMS to Apache...
installing site configuration...
disabling default Apache site(s)...
linking RMS folder to Apache...
restarting Apache...

Setting up site tmp folder...

Setting MySQL server (use SQL root password)...
generating random password...
creating RMS database and local MySQL user...
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
installing the RMS database...
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Setting CakePHP configuration file(s)...

Installing cron job(s)...

Setup complete!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant