詳解CentOS6.5 安裝 MySQL5.1.71的方法
更新時(shí)間:2016年12月15日 11:45:57 作者:Bleachswh
這篇文章主要介紹了CentOS6.5 安裝 MySQL5.1.71的相關(guān)資料,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友可以參考下
yum install -y MySQL-server mysql mysql-deve service mysqld start/stop/restart
首次啟動(dòng), 會有如下的提示信息。其中包括
- 如何設(shè)置開機(jī)啟動(dòng)
- 如何設(shè)置root密碼(默認(rèn)為空)
- 如何配置生產(chǎn)環(huán)境
- 如何設(shè)置守護(hù)進(jìn)程
- 如何測試守護(hù)進(jìn)程
Initializing MySQL database: Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password' Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script! [ OK ] Starting mysqld: [ OK ]
以上所述是小編給大家介紹的CentOS6.5 安裝 MySQL5.1.71的方法,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時(shí)回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
您可能感興趣的文章:
- CentOS6.5 上部署 MySQL5.7.17 二進(jìn)制安裝以及多實(shí)例配置
- Centos6.5搭建java開發(fā)環(huán)境配置詳解
- centos6.5安裝vncserver圖文教程
- Centos6.5在線安裝mysql 8.0詳細(xì)教程
- 虛擬機(jī)VirtualBox中centos6.5網(wǎng)絡(luò)設(shè)置圖文詳解
- centos6.5中用yum方式安裝php5.4與apache2.2的步驟
- CentOS6.5下RPM方式安裝mysql5.6.33的詳細(xì)教程
- CentOS6.5設(shè)置Django開發(fā)環(huán)境
- Centos6.5編譯安裝mysql 5.7.14詳細(xì)教程
- Centos6.5下Jdk+Tomcat+Mysql環(huán)境安裝圖文教程
- Centos6.5和Centos7 php環(huán)境搭建方法
- CentOS6.5 升級 Python 2.7 版本詳細(xì)介紹
相關(guān)文章
sql四大排名函數(shù)之ROW_NUMBER、RANK、DENSE_RANK、NTILE使用介紹
這篇文章主要介紹了sql四大排名函數(shù)之ROW_NUMBER、RANK、DENSE_RANK、NTILE使用,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2020-08-08MySQL中find_in_set()函數(shù)用法示例詳解
find_in_set這個(gè)是mysql的一個(gè)函數(shù),見得比較少,下面這篇文章主要給大家介紹了關(guān)于MySQL中find_in_set()函數(shù)用法的相關(guān)資料,文中通過實(shí)例代碼介紹的非常詳細(xì),需要的朋友可以參考下2022-09-09新建一個(gè)MySQL數(shù)據(jù)庫的簡單教程
這篇文章主要介紹了新建一個(gè)MySQL數(shù)據(jù)庫的簡單教程,是MySQL入門學(xué)習(xí)中的基礎(chǔ)知識,需要的朋友可以參考下2015-05-05Mysql 5.5.56版本(二進(jìn)制包安裝)自定義安裝路徑步驟記錄
這篇文章主要介紹了Mysql 5.5.56版本(二進(jìn)制包安裝)自定義安裝路徑步驟記錄,需要的朋友可以參考下2017-07-07淺析MySQL如何實(shí)現(xiàn)事務(wù)隔離
使用過關(guān)系型數(shù)據(jù)庫的,應(yīng)該都事務(wù)的概念有所了解,知道事務(wù)有 ACID 四個(gè)基本屬性:原子性(Atomicity)、一致性(Consistency)、隔離性(Isolation)和持久性(Durability),今天我們主要來理解一下事務(wù)的隔離性2021-06-06