mysql - 如何在 Raspbian Stretch 中安装 MySQL 服务器

标签 mysql linux raspbian

我有点绝望了。我尝试在 Raspbian Strectch 中安装 mysql,但我得到的是 mariadb。

我已一步步按照本教程进行操作,但仍然安装了 mariadb。

https://dbahire.com/how-to-install-mysql-server-on-debian-stretch/

pi@raspberrypi:/ $ sudo mysql -u root

Welcome to the MariaDB monitor. Commands end with ; or \g.

Your MariaDB connection id is 4

Server version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

我能做什么?

最佳答案

为什么你想要 MySQL 而不是 MariaDB?它们在很大程度上是可以互换的,因此您可能可以只使用 MariaDB,大多数 MySQL 都可以很好地使用它。

关于mysql - 如何在 Raspbian Stretch 中安装 MySQL 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47908910/

相关文章:

linux - 当他们在这种情况下说 "fragile state"时,它实际上是什么意思?

python - 树莓派pip安装

tomcat - 确定停止 tomcat7 中的应用程序

python - 在 Raspberry Pi 上使用 Python 3,如何调用 MPlayer 并传递 URL

mysql - 更新同一个表中值为最大值的位置

php - 如何在 PHP 和 MySQL 中使用货币值?

Javascript (jQuery) 加载模式直到数据库查询在 php 页面上结束

linux - 仅第一次在 shell 中执行特定命令

c++ - 在 Linux 上使用 Qt 5.4 的某些 OpenGL 函数...

Mysql - 获取每天每小时的唯一不同IP的计数