0
通過了一些問題並沒有解決方案爲我工作。希望有人有一些見解。推進反向工程
這裏是我的build.properties文件
propel.project = league
propel.database = mysql
propel.database.url = 'mysql:host=localhost;dbname=leaguerunner'
propel.database.user = root
propel.database.password = root
行走版本是2.0.0-α-2,PDO安裝和驗證使用thse參數工作,PHP版本5.4.4是。
> propel reverse
Schema reverse engineering failed. You can use the --verbose option to get more information.
>propel reverse --verbose mysql:host=localhost;dbname=leaguerunner mysql:dbname=leaguerunner
Reading database structure...
There was an error building XML from metadata: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
Schema reverse engineering failed.
>propel reverse --verbose mysql:host=localhost;dbname=leaguerunner
Reading database structure...
There was an error building XML from metadata: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
Schema reverse engineering failed.
你有沒有試圖消除單引號括起來''mysql:host = localhost; dbname = leaguerunner''並給出一個鏡頭? –
我做到了,是的。本來沒有單引號,我已經嘗試過沒有,單一和雙重。 –
看起來它沒有連接到數據庫,請確定你已經定義了你的** buildtime-conf.xml **,** runtime-conf.xml **文件並在你的build.properties中聲明瞭它們 –