我这几天又遇到了问题,我现在要添加一个Z MySQL 数据库的连接, 在Zope界面出现add Z MySQL Database
Connection的表格, 它要求填写id, title, 还有Database Connection String, 它给出了一个Z
MySQL Database Connection的一个填写格式,是这样的
Connection Strings
The connection string used for Z MySQL Database Connection is of the
form:
[*lock] [+/-][database][@host[:port]] [user [password
[unix_socket]]]
or typically:
database user password
我现在就是这个connection string 填写的不正确,总是出现这个错误信息
User Name (User Id) officer (admin)
Request URL
http://localhost:8080/Plone/manage_addProduct/ZMySQLDA/manage_addZMySQLConnection
Exception Type OperationalError
Exception Value (1045, "Access denied for user
'admin'@'localhost' (using password: YES)")
我不知道是不是用户名还是密码填写错误?我目前用的是zope admin 的用户名和密码,大家如果知道问题在哪里,请给我指教,谢谢。