I'm trying to install my first community MySQL server instance and seems to be stuck on symlink not working. I'm following the procedure for installing MySQLfrom Installing MySQL on Unix/Linux Using Generic Binaries.
OSVersion: RHEL 7 MySQLVersion: 8
The executable binary is sitting in following folder:
I created symlink via this command:
pwd /usr/local sudo ln -s /usr/local/mysql-8.0.3-rc-linux-glibc2.12-x86_64 /usr/local/mysql cd mysql
and ran this command to initialize user with ./ and / nothing seems to work.
-bash-4.2$ ./bin/mysqld --initialize --user=mysql -bash: ./bin/mysqld: No such file or directory -bash-4.2$ /bin/mysqld --initialize --user=mysql -bash: /bin/mysqld: No such file or directory -bash-4.2$
I wonder where am I wrong? Any guidance would be appreciated as I'm stuck with this issue since yesterday.
Tried this and it didn't worked either:
-bash-4.2$ export PATH=$PATH:/usr/local/mysql/bin -bash-4.2$ echo $PATH /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/mysql/bin -bash-4.2$ mysqld --initialize --user=mysql -bash: mysqld: command not found -bash-4.2$ -bash-4.2$ sudo ./bin/mysqld --initialize --user=mysql Command not found -bash-4.2$ -bash-4.2$ sudo ./mysqld --initialize --user=mysql Command not found -bash-4.2$