nadeemshafi9 Posted March 7, 2009 Share Posted March 7, 2009 Hello guys i am using teh default application wired up structure from framework.zend the latest one is quite different from peoples examples on the net. anyways i am having dificulty in authenticating myself to my database, i know root@localhost is allowed to access the databse with that password because iv done it throgh normal php all teh time. the default wired directory framwork from zend had an SQLITE db configured so it didnt have an example, so i used one of the net because they dont have one for mysql on the framwork site. so here is my app.ini [development : production] database.adapter = PDO_MYSQL database.params.host = localhost database.params.username = 'root' database.params.password = '*****' database.params.dbname = 'demo_app1' when i go to teh page that tries to access teh database it says Message: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES) with stack trace underneath if i get rid of the '' single quotes it crashes my apache server. any help much appreciated Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.