In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install mysql5.7.32 in raspberry pie 4B. I hope you will get something after reading this article. Let's discuss it together.
Hardware: Raspberry Pi 4B (4G or 8g version)
System: Ubuntu 20.04 LTS
Recently, there is a project that needs to install the mysql5.7.32 version on the raspberry pie Pi4. I checked launchpad and found that it already supports the 5.7.33 version of the mysql5.7 series. We don't need it for the time being, so let's use 5.7.32 first.
Download related deb files
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.7mm 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
Install mysql
# it went well this time Directly install dpkg-I * .deb# default service # systemctl list-units-- all-- type=service | grep mysql mysql.service loaded active running MySQL Community Server # configuration file 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 fileholders # The files must end with '.cnf' Otherwise they'll be ignored.#!includedir / etc/mysql/conf.d/!includedir / etc/mysql/mysql.conf.d/
Visit mysql
The root user password for # mysql defaults to empty 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 after reading this article, I believe you have some understanding of "Raspberry pie 4B how to install mysql5.7.32". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.