如果我只输入mysql -u root -p并输入密码到我的数据库中,但是现在每次我说mysql和类似于这个输出的任何选项时,我仍然会收到一条消息。但是,当我运行状态时,服务是活动的。root@Dodge:~# systemctl status mysql Loaded:root@Dodge:~# systemctl status mariadb
● mariadb.servi
debian 11上mariaDB 10.5.12的新安装使用了“mysql_secure_installation”脚本,“切换到unix_socket身份验证Y/n”的问题被回答为“是”。现在,当主机等于“localhost”时,mariaDB允许本地根登录:Welcome to the MariaDB monitor.Your MariaDB connection id is 40
Server version: 10.5.12-Ma