银河麒麟安装mysql
时间: 2023-09-11 19:13:14 浏览: 331
在银河麒麟系统中安装MySQL可以按照以下步骤进行操作:
1. 执行以下命令卸载已有的MySQL依赖:
```
sudo apt remove mysql
sudo apt remove mysql-*
sudo apt remove mysql-server-8.0
sudo apt remove mysql-client-8.0
```
2. 下载并安装银河麒麟版本的MySQL,可以使用以下命令:
```
sudo apt install mysql
```
3. 安装完成后,可以使用以下命令进入MySQL,并设置密码:
```
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH MYSQL_NATIVE_PASSWORD BY 'your_password';
flush privileges;
```
以上步骤可以在银河麒麟系统上成功安装MySQL并设置密码。请根据您的实际需求修改密码并执行相应操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [银河麒麟v10安装MySQL5.7 含教程](https://download.csdn.net/download/weixin_41299877/87635862)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [银河麒麟安装mysql](https://blog.csdn.net/qq_36189997/article/details/129286964)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文