If you are seeking for the mysql socket path to add in Rails database.yml file,
You can read mysql variables by
$ mysqladmin variables
and find the path.
If you are seeking for the mysql socket path to add in Rails database.yml file,
You can read mysql variables by
$ mysqladmin variables
and find the path.
Make sure that you have installed mysql server and mysql client. Else install by
$ sudo apt-get install mysql-server $ sudo apt-get install mysql-client
After that install the dependency library for mysql
$ sudo apt-get install libmysql-ruby libmysqlclient-dev
You can install the gparted by:
$ sudo apt-get install gparted
run the software as follows:
$ sudo gparted /dev/sda /dev/sdc