Ubuntu安装Mysql5.7笔记

下载

https://downloads.mysql.com/archives/community/

解压

Shell

创建linux用户和组

Shell

设置

注意,以下示例步骤中安装mysql的位置为/usr/local/mysql,mysql数据文件夹为/usr/local/mysql/data

Shell

参考:http://c.biancheng.net/view/7618.html

这儿的不要乱写,容易导致各种奇奇怪怪的问题

Properties files

文档:https://www.mysqlzh.com/doc/13/78.html

Shell

初始化

Shell

解决./mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

Shell

复制 mysql 到系统服务

Shell

解决Unit mysql.service does not exist, proceeding anyway.

修改vim /etc/init.d/mysql

Shell

启动mysql

Shell

或者

Shell

进入mysql命令行

Shell

解决./mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Shell

修改密码

MySQL

常用操作

以下内容参考于 https://blog.csdn.net/qpzkobe/article/details/102833458

MySQL
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇