我正在尝试建立一个Mitaka OpenStack云。但是当我尝试执行时:
error: No sql_connection parameter is established
我收到错误消息:
mysql
然而,我可以通过[database]
connection=mysql://nova:nova@svl-os:3306/nova
命令行访问nova数据库,使用我在/etc/nova/nova.conf中使用的值:
Dim HTMLDoc As HTMLDocument
Dim MyBrowser As InternetExplorer
Sub iTradeLogIn()
Dim MyHTML_Element As IHTMLElement
Dim MyURL As String
On Error GoTo Err_Clear
MyURL = "https://www.oms.itradenetwork.com/secure/login/logon.cfm? _Key=8C049059F2DD44009E"
Set MyBrowser = New InternetExplorer
MyBrowser.Silent = True
MyBrowser.Navigate MyURL
MyBrowser.Visible = True
Do
Loop Until MyBrowser.ReadyState = READYSTATE_COMPLETE
Set HTMLDoc = MyBrowser.Document
HTMLDoc.all.UserName.Value = "MyName"
HTMLDoc.all.Password.Value = "MyPassword"
'Code Here to click the button
Err_Clear:
If Err <> 0 Then
Err.Clear
Resume Next
End If
End Sub
答案 0 :(得分:0)
在Mitaka版本中,他们添加了一个新的数据库架构nova_api。所以我需要添加......
[api_database]
connection=mysql://nova_api_db_user:password@mydbhost:3306/nova_api
...到我的/etc/nova/nova.conf文件。