企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
~~~txt 安装命令 命令:yum -y install mariadb mariadb-server ~~~ ~~~txt 启动MariaDB 命令:systemctl start mariadb ~~~ ~~~txt 设置开机启动 命令:systemctl enable mariadb ~~~ ~~~txt MariaDB的相关简单配置 命令:mysql_secure_installation Enter current password for root (enter for none):<–初次运行直接回车设置密码 Set root password? [Y/n] <– 是否设置root用户密码,输入y并回车或直接回车 New password: <– 设置root用户的密码 Re-enter new password: <– 再输入一次你设置的密码 其他配置 Remove anonymous users? [Y/n] <– 是否删除匿名用户,回车 Disallow root login remotely? [Y/n] <–是否禁止root远程登录,回车, Remove test database and access to it? [Y/n] <– 是否删除test数据库,回车 Reload privilege tables now? [Y/n] <– 是否重新加载权限表,回车 ~~~ ~~~txt 测试是否安装成功 命令:mysql -uroot -ppassword ~~~