树莓派4B如何安装mysql5.7.32
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,小编给大家分享一下树莓派4B如何安装mysql5.7.32,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!硬件:Raspberry Pi 4B(4g或8g版本)系统:Ubuntu 20
千家信息网最后更新 2024年09月22日树莓派4B如何安装mysql5.7.32
小编给大家分享一下树莓派4B如何安装mysql5.7.32,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!
硬件:Raspberry Pi 4B(4g或8g版本)
系统:Ubuntu 20.04 LTS
最近有个项目需要在树莓派Pi4上安装mysql5.7.32版本,查了下launchpad,发现目前已经支持mysql5.7系列的5.7.33版本,我们暂时没需求,还是先用5.7.32.
下载相关deb文件
wget http://launchpadlibrarian.net/503346130/mysql-server-5.7_5.7.32-0ubuntu0.18.04.1_arm64.debwget http://launchpadlibrarian.net/503346131/mysql-server-core-5.7_5.7.32-0ubuntu0.18.04.1_arm64.debwget http://launchpadlibrarian.net/355862128/libevent-core-2.1-6_2.1.8-stable-4build1_arm64.debwget http://launchpadlibrarian.net/503346130/mysql-server-5.7_5.7.32-0ubuntu0.18.04.1_arm64.debwget http://launchpadlibrarian.net/355861262/libevent-core-2.1-6_2.1.8-stable-4build1_arm64.debwget http://launchpadlibrarian.net/503346128/mysql-client-5.7_5.7.32-0ubuntu0.18.04.1_arm64.debwget http://launchpadlibrarian.net/503346129/mysql-client-core-5.7_5.7.32-0ubuntu0.18.04.1_arm64.deb
安装mysql
# 这次很顺利,直接一遍安装成功dpkg -i *.deb# 默认服务# systemctl list-units --all --type=service|grep mysql mysql.service loaded active running MySQL Community Server # 配置文件root@ubuntu:~/mysql# cat /etc/mysql/my.cnf## The MySQL database server configuration file.## You can copy this to one of:# - "/etc/mysql/my.cnf" to set global options,# - "~/.my.cnf" to set user-specific options.# # One can use all long options that the program supports.# Run program with --help to get a list of available options and with# --print-defaults to see which it would actually understand and use.## For explanations see# http://dev.mysql.com/doc/mysql/en/server-system-variables.html## * IMPORTANT: Additional settings that can override those from this file!# The files must end with '.cnf', otherwise they'll be ignored.#!includedir /etc/mysql/conf.d/!includedir /etc/mysql/mysql.conf.d/
访问mysql
# mysql的root用户密码默认为空mysql -uroot -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.7.32-0ubuntu0.18.04.1 (Ubuntu)Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> status--------------mysql Ver 14.14 Distrib 5.7.32, for Linux (aarch74) using EditLine wrapperConnection id: 2Current database:Current user: root@localhostSSL: Not in useCurrent pager: stdoutUsing outfile: ''Using delimiter: ;Server version: 5.7.32-0ubuntu0.18.04.1 (Ubuntu)Protocol version: 10Connection: Localhost via UNIX socketServer characterset: latin1Db characterset: latin1Client characterset: utf8Conn. characterset: utf8UNIX socket: /var/run/mysqld/mysqld.sockUptime: 22 min 7 secThreads: 1 Questions: 5 Slow queries: 0 Opens: 105 Flush tables: 1 Open tables: 98 Queries per second avg: 0.003
看完了这篇文章,相信你对"树莓派4B如何安装mysql5.7.32"有了一定的了解,如果想了解更多相关知识,欢迎关注行业资讯频道,感谢各位的阅读!
树莓
版本
文件
篇文章
成功
完了
密码
更多
用户
知识
硬件
系统
行业
资讯
资讯频道
还是
需求
项目
频道
先用
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
美国学校网络安全拨款法案
ado与数据库的关系
耒阳软件开发创意园人员
软件开发商的痛点
网络安全执法培训讲话
vba访问sql数据库
cf是几tick服务器
贵州数据库通用多路锁控板装备
网络安全风险评估技术
嵌入式软件开发专业好的学校
惠州手机软件开发定制
广州风色互联网科技有限公司
在联通做软件开发
高中数据库说课稿
杀猪盘服务器在国外
私人的网页认证的网络安全吗
违网络安全法第二十七条
网课及网络安全教育班会感想
阿里云上部署服务器安全吗
ipv4ipv6数据库字段
网络安全对于社会安全
vb调用二维数据库为变量赋值
长沙中崛网络技术公司
贵阳网络安全技能竞赛名单
目前网络安全存在的突出问题
网络安全追踪案例
榆林多媒体软件开发
如何降低软件开发中的缺陷密度
停车场数据库删除了还能恢复吗
双机热备软件开发单位