I am installing MySql Server in my Ubuntu. Steps are as the following:
Firt, I download the Linux Gerneric version of mysql: mysql-5.6.27-linux-glibc2.5-x86_64.tar.gz
I untar the downloaded package and copy all the contents to /usr/local/mysql: cp -r mysql-5.6.27-linux-glibc2.5-x86_64 /usr/local/mysql
I add group and user: 'groupadd mysql' and 'useradd -r -g mysql mysql'
Then I get into /usr/local/mysql folder, and use: 'chown -R mysql:mysql ./' to make mysql be the owner of the current folder.
Use './scripts/mysql_install_db --user=mysql' for installing MySql database. Then I added owner using 'chown -R root:root ./' and 'chown -R mysql:mysql data
I try to start MySql using 'support-files/mysql.server start', it tried to start the db but failed with error:
I could not find any .pid file in data folder:
but just a 'iZ23uaxhiftZ.err' file:
I have tried some solutions provided on the Internet, but get no luck, so how can I solve this? Thank!