Hi
I downloaded and unzipped the mysql-5.6.22-linux-glibc2.5-x86_64 binaries edition; The thing is I am watching the read-me install instructions as :
---------binary-install snippet-------
shell> sudo groupadd mysql
shell> sudo useradd -r -g mysql mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell> ln -s full-path-to-mysql-VERSION-OS mysql
p.s. I used "$sudo mkdir mysql" instead of "$ln"
shell> cd mysql
shell> sudo chown -R mysql .
shell> sudo chgrp -R mysql .
shell> sudo scripts/mysql_install_db --user=mysql
shell> sudo chown -R root .
shell> sudo chown -R mysql data
shell> sudo bin/mysqld_safe --user=mysql &
# Next command is optional
shell> sudo cp support-files/mysql.server /etc/init.d/mysql.server
p.s. I did not copied mysql.server on startup folder to start dbserver manually
---------------------------------------
p.s. I modified the install algotrythm exactly the way I followed it so please correct me if I did something wrong I am using manjaro linux x64 right now...
...but I am not sure concerning creating additonal "mysql" user? After system hanged I had to reboot and after reboot I aced PID file error each time I tried to start ./mysql manually :( Currently I have just one "admin" user actual...
So my question is :
a) how to install the mentioned mysql to avoid the pid file error?
b) And if to use "current admin user" not "additional mysql user" than won't it be a bit scary for security field?
c) I could read this thread
http://stackoverflow.com/questions/4963171/mysql-server-startup-error-the-server-quit-without-updating-pid-file could you comment the accepted answer cause I am not sure concerning '--basedir="$(brew --prefix mysql)"' for example :(
Thanks