- 3
- 0
- 约2.9万字
- 约 17页
- 2023-04-24 发布于上海
- 举报
MySQL Startup Guide
Content:
Getting Started With MySQL Background
MySQL is a popular database server that is used in various applications. SQL stands for (S)tructured (Q)uery (L)anguage, which is what MySQL uses to communicate with other programs. On top of that, MySQL has its own expanded SQL functions to provide additional functionality to users. In this document, well look at how to do the initial MySQL installation, set up databases and tables, and create new users. Lets start out with the installation.
MySQL Installation
First make sure you have MySQL installed on your system. In case you need specific functionality from MySQL, please make sure you have the required USE flags enabled as they will help fine tune your installation.
Code Listing 1.1: Installing MySQL (View available USE flags)
Code Listing 1.1: Installing MySQL (View available USE flags)
# emerge --pretend --verbose mysql (Install MySQL)
# emerge mysql
Upon completion of the installation, you will see the following notice:
Code Listing 1.2: MySQL einfo message You might want to run:
Code Listing 1.2: MySQL einfo message You might want to run:
emerge --config =dev-db/mysql-[version] if this is a new install.
Since this is a new installation, we run the command. You need to press ENTER when prompted while configuring the MySQL database. The configuration sets up the main MySQL database which contains administrative information such as databases, tables, users, permissions and more. The configuration recommends that you change your root password as soon as possible. We will definitely do this, otherwise someone could come along by chance and hack our default setup MySQL server.
Code Listing 1.3: MySQL configuration
Code Listing 1.3: MySQL configuration
(Replace [version] with the version number you have just installed.) # emerge --config =dev-db/mysql-[version]
MySQL DATADIR is /var/lib/mysql
Press ENTER to create the mysql database and set proper
permissions on it, or Control-C to abort now...
Prep
您可能关注的文档
- 06001惠港酒店发文格式.docx
- 06005 统一打卡通知.docx
- 06092工作分析八套试卷 答案.docx
- 10000汉字起笔部首表.docx
- 11000地形测量技术设计.docx
- 20000字起笔部首检字表.docx
- 20148小继教培训心得体会.docx
- 20151人教版三年级数学上册教学工作总结.docx
- 20165理论题分析和总结.docx
- 20192广东公需课 中华传统美德.docx
- 中国国家标准 GB/Z 37551.300-2026海洋能 波浪能、潮流能及其他水流能转换装置 第300部分:河流能转换装置发电性能评估.pdf
- GB/T 44937.3-2025集成电路 电磁发射测量 第3部分:辐射发射测量 表面扫描法.pdf
- 中国国家标准 GB/T 44937.3-2025集成电路 电磁发射测量 第3部分:辐射发射测量 表面扫描法.pdf
- 《GB/T 44937.3-2025集成电路 电磁发射测量 第3部分:辐射发射测量 表面扫描法》.pdf
- 中国国家标准 GB/T 44937.1-2025集成电路 电磁发射测量 第1部分:通用条件和定义.pdf
- GB/T 44937.1-2025集成电路 电磁发射测量 第1部分:通用条件和定义.pdf
- 《GB/T 44937.1-2025集成电路 电磁发射测量 第1部分:通用条件和定义》.pdf
- 中国国家标准 GB/T 4937.37-2025半导体器件 机械和气候试验方法 第37部分:采用加速度计的板级跌落试验方法.pdf
- 《GB/T 4937.10-2025半导体器件 机械和气候试验方法 第10部分:机械冲击 器件和组件》.pdf
- 中国国家标准 GB/T 44937.2-2025集成电路 电磁发射测量 第2部分:辐射发射测量TEM小室和宽带TEM小室法.pdf
最近下载
- 七年级数学上册必刷提高练【第一章《有理数》章节达标检测】(原卷版)-2022-2023学年七年级数学上册同步考点必刷练精编讲义(人教版).docx VIP
- 退休审批表(空表).pdf VIP
- 智慧树 知到 大学生爱国教育十讲 章节测试答案.docx VIP
- 人教版初一数学七年级数学上册经典总复习练习题打印版(2020整理).pdf VIP
- Starfire斯达峰2100C新版快速使用指南手册调试.pdf
- 2026年党支部在学习贯彻党的创新理论等“对照五个方面”存在的问题及整改措施4280字范文.docx VIP
- 2025年中国红曲酒数据监测研究报告.docx
- 福建省春季高考高职单招数学模拟试题 (六) Word版含答案.doc VIP
- 关于安全驾驶心得体会经典优秀范文5篇.docx VIP
- 苏州经贸职业技术学院单招《数学》能力提升B卷题库及参考答案详解(实用).docx VIP
原创力文档

文档评论(0)