On 6/12/07, kib2 <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm new to Pylons and even more to DataBases. > > I followed your tutorial on how to make a basic blog with Pylons, but > once I launch my app I've got the following errors : > > File 'C:\\Documents and Settings\\kib\\Bureau\\KIB\\blogtutorial\ > \blogtutorial\\controllers\\blog.py', line 21 in list > c.blogPosts = list(model.BlogPosts.select()) > File 'c:\\python25\\lib\\site-packages\\SQLObject-0.9.0-py2.5.egg\ > \sqlobject\\sresults.py', line 165 in __iter__ > return iter(list(self.lazyIter())) > File 'c:\\python25\\lib\\site-packages\\SQLObject-0.9.0-py2.5.egg\ > \sqlobject\\sresults.py', line 173 in lazyIter > return conn.iterSelect(self) > File 'c:\\python25\\lib\\site-packages\\SQLObject-0.9.0-py2.5.egg\ > \sqlobject\\dbconnection.py', line 399 in iterSelect > return select.IterationClass(self, self.getConnection(), > File 'c:\\python25\\lib\\site-packages\\SQLObject-0.9.0-py2.5.egg\ > \sqlobject\\dbconnection.py', line 264 in getConnection > conn = self.makeConnection() > File 'c:\\python25\\lib\\site-packages\\SQLObject-0.9.0-py2.5.egg\ > \sqlobject\\mysql\\mysqlconnection.py', line 76 in makeConnection > e, self.host, self.port, self.db, self.user, self.password) > OperationalError: (1045, "Access denied for user > 'kib'@'localhost' (using password: YES)"); used connection string: > host=localhost, port=3306, db=blogtutorial, user=kib, pwd=kib > > This is the first time I use MySQL , I was never asked to give a > username during the installation process (on Windows). I was only > asked for a password. > > Did I miss something ? > > Thanks a lot, cheers > > Kib
It's telling you your password is wrong. Try using 'root' as your username and the password you gave as your password. Also, you may want to star out the user and pwd fields in the stack trace. Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
