2015-12-03 73 views
-1

我試圖讓我的boltCMS使用MySQL和我有以下設置文件改變了,從配置boltCMS:與MySQL

# If you're trying out Bolt, just keep it set to SQLite for now. 
database: 
    driver: sqlite 
    databasename: bolt 

我改變了上面:

database: 
    driver: mysql 
    databasename: bolt 
    username: root 
    password: '' 

現在我收到以下錯誤:

螺栓 - 致命錯誤 沒有爲數據庫連接設置密碼,並且您使用的是用戶'root'。 這肯定是一個錯誤,對吧?在你爲「root」設置密碼之前,Bolt會固執地拒絕運行。

This is a fatal error. Please fix the error, and refresh the page. Bolt can not run, until this error has been corrected. Make sure you've read the instructions in the documentation for help. If you can't get it to work, post a message on our forum, and we'll try to help you out. Be sure to include the exact error message you're getting!

我也看了這篇文章HERE

我遵循的步驟,但我得到這個錯誤,有人可以幫我嗎?

謝謝。

+0

你有沒有爲root設置密碼? –

+0

@JayBlanchard沒有傑伊,我沒有:/ –

+3

然後設置一個,你的問題就會結束。 –

回答