源码安装
操作系统选择Linux-Generic
选择满⾜条件的代码进⾏下载(32位或者64位)。
进⼊下载界⾯后,选择直接开始下载。
启动成功
image.png
Create a mysql User and Group
在linux中下载mysql时冲突是什么If your system does not already have a user and group to use for running mysqld, you may need to create them. The following commands add the mysql group and the mysql user. You might want to call the user and group something else instead of mysql. If so, substitute the appropriate name in the following instructions. The syntax for useradd and groupadd may differ slightly on different versions of Unix/Linux, or they may have different names such as adduser and addgroup.
shell> groupadd mysql
shell> useradd -r -g mysql -s /bin/false mysql
The ln command makes a symbolic link to the installation directory. This enables you to refer more easily to it as
/usr/local/mysql. To avoid having to type the path name of client programs always when you are working with MySQL, you can add the /usr/local/mysql/bin directory to your PATH variable:
shell> export PATH=$PATH:/usr/local/mysql/bin
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论