首页 / UBUNTU / Ubuntu安装mysql
Ubuntu安装mysql
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Ubuntu安装mysql,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1062字,纯文字阅读大概需要2分钟。
内容图文
1,安装服务端
sudo apt-get install mysql-server
2,安装客户端
apt-get isntall mysql-client
3,安装客户端的库
sudo apt-get install libmysqlclient-dev
4,打卡mysql,-u 用户名,-p 密码
mysql -u root -p 123456
看到下面的内容,开始玩吧,各种sql语句,66666666。。。
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement.
Ubuntu安装mysql
标签:interface Owner inpu rac apt help sql word mysql
本文系统来源:http://www.cnblogs.com/hanyu258/p/7762898.html
内容总结
以上是互联网集市为您收集整理的Ubuntu安装mysql全部内容,希望文章能够帮你解决Ubuntu安装mysql所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。