GT-RAIL / rms

RMS (Robot Management System)
http://wiki.ros.org/rms
Other
28 stars 24 forks source link

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

Open lisuwang opened 6 years ago

lisuwang commented 6 years ago

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 - rctoris@wpi.edu

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!