第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

正在回答

2 回答

1. tar -jxvf mysql.tar.bz2

2. yum install -y git gcc gcc-c++ ncurses ncurses-devel bison cmake libaio-devel openssl openssl-devel

3. groupadd mysql; useradd -g mysql mysql

4. tar -jxvf boost.tar.bz2

5. cd /usr/local/boost

6. ./bootstrap.sh --prefix=/usr/local/include/boost

7. ./b2 install

8.?

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql? \

-DMYSQL_DATADIR=/usr/local/mysql/data/ -DSYSCONFDIR=\etc\mysql \

-DWITH_INNOBASE_STORAGE_ENGINE=1? ?\

-DMYSQL_TCP_PORT=3306? ?\

-DENABLED_LOCAL_INFILE=1? ?\

-DEXTRA_CHARSETS=all? ?\

-DDEFAULT_CHARSET=utf8? ?\

-DDEFAULT_COLLATION=utf8_general_ci? \

-DWITH_BOOST=/usr/local/src/boost/boost_1_67_0/

-DDOWNLOAD_BOOST=1


9. make

10. make install


# 初始化mysql

11. cd /usr/local/mysql

12.(/usr/local/mysql/data/ 目錄必須NULL)

bin/mysqld --initialize --user=mysql? --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data/

13. bin/mysql_ssl_rsa_setup

14. cp ./support-files/my-default.cnf /etc/my.cnf?

15. vim /etc/my.cnf

[mysqld]

datadir=/usr/local/mysql/data/

socket=/var/lib/mysql/mysql.sock

user=mysql

character-set-server=utf8mb4

port=3306

# Settings user and group are ignored when systemd is used.

# If you need to run mysqld under a different user or group,

# customize your systemd unit file for mariadb according to the

# instructions in http://fedoraproject.org/wiki/Systemd


[mysqld_safe]

log-error=/var/log/mariadb/mariadb.log

pid-file=/var/run/mariadb/mariadb.pid


#

# include all files from the config directory

#

!includedir /etc/my.cnf.d


16. vim /etc/environment? ?need reboot

在PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"中加入“:/usr/local/mysql/bin”


17. cd /usr/local/mysql

18. cp support-files/mysql.server /etc/init.d/mysql.server

19. service mysql.server start (臨時(shí)密碼在此)

20. 修改密碼

ALTER USER 'root'@'localhost' IDENTIFIED BY 'root123';

可能還會(huì)有問(wèn)題,我這樣配置成功了,整理了一下


1 回復(fù) 有任何疑惑可以回復(fù)我~

哈哈,他是復(fù)制粘貼的配置信息

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
PHP環(huán)境LAMP/LNMP安裝與配置
  • 參與學(xué)習(xí)       45338    人
  • 解答問(wèn)題       237    個(gè)

本課程適于PHP初學(xué)者,手把手教你LAMP/LNMP環(huán)境安裝配置

進(jìn)入課程

cmake怎么使用呀。講的粗心大意的。臥槽

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)