成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

安裝MySQL錯誤歸檔處理

數(shù)據(jù)庫 MySQL
本文中主要為大家講解安裝MySQL錯誤歸檔處理,希望對大家能夠有所幫助。

今天我升級MYSQL到5.1的時(shí)候遇到的。寫出來共享以下,供大家參考。

1、

[root@localhost mysql]# scripts/mysql_install_db

Neither host 'localhost.localdomain' nor 'localhost' could be looked up with

/resolveip

Please configure the 'hostname' command to return a correct

hostname.

If you want to solve this at a later stage, restart this script

with the --force option

這個(gè)主要是修改/etc/hosts文件

echo "127.0.0.1 localhost.localdomain localhost" >> /etc/hosts

然后再初始化數(shù)據(jù),如果還是同樣的錯誤,那就直接加--force開關(guān)。

我今天碰到的就是這個(gè)情況。

[root@localhost mysql]# scripts/mysql_install_db --force

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/local/mysql//bin/mysqladmin -u root password 'new-password'

/usr/local/mysql//bin/mysqladmin -u root -h localhost.localdomain password 'new-password'

See the manual for more instructions.

You can start the MySQL daemon with:

cd . ; /usr/local/mysql//bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl

cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at

http://www.mysql.com

Support MySQL by buying support/licenses at http://shop.mysql.com

這樣就成功初始化數(shù)據(jù)了。

 

責(zé)任編輯:迎迎 來源: 電腦初學(xué)網(wǎng)
相關(guān)推薦

2011-03-22 10:10:21

CentOSNagios安裝

2016-09-07 20:28:17

MySQL存儲數(shù)據(jù)庫

2010-04-02 15:25:40

云歸檔

2010-05-27 13:48:21

MySQL安裝

2024-03-27 08:18:02

Spring映射HTML

2021-01-28 13:16:27

Python編程語言

2021-01-14 21:37:01

JavaScript開發(fā)代碼

2021-04-14 07:08:14

Nodejs錯誤處理

2023-11-30 07:15:36

GolangRecover

2009-08-05 16:04:50

2010-10-20 17:37:23

SQL Server連

2010-06-01 16:14:04

2021-04-29 09:02:44

語言Go 處理

2023-10-28 16:30:19

Golang開發(fā)

2010-07-27 15:39:32

telnet smtp

2017-04-17 10:05:51

Hadoop錯誤方式

2014-11-17 10:05:12

Go語言

2009-12-28 09:58:52

ADO操作

2022-11-16 08:41:43

2011-08-01 13:28:09

Oracle歸檔模式非歸檔模式
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 91精品久久久久久久久中文字幕 | 国产在线一区二区三区 | 欧美不卡在线 | 在线欧美一区二区 | 欧美精品一区二区三区在线播放 | 色本道| 亚洲日产精品 | 中文字幕 国产精品 | 成人三级影院 | 欧美一级电影免费观看 | 久久国产精品一区二区三区 | 国产91亚洲精品一区二区三区 | 亚洲国产成人在线 | 在线成人av | 欧美精品在欧美一区二区少妇 | 一区二区国产精品 | 成人精品国产一区二区4080 | 成人一级片在线观看 | 99自拍视频 | 久久一区二区视频 | 国产精品成人品 | 国产91亚洲精品一区二区三区 | 麻豆亚洲 | 久久av一区二区三区 | 国产精品毛片一区二区三区 | 国产在线观看一区 | a网站在线观看 | 国产免费一区二区 | 国产精品国产a | 国产高清视频 | 欧美性久久久 | av一级久久 | 丝袜美腿一区二区三区动态图 | 免费人成在线观看网站 | 91在线最新 | 久久精品一区二区 | 成人综合视频在线 | 久久久xxx | 欧美日韩久久 | 成人妇女免费播放久久久 | 久久精品国产一区二区三区不卡 |