message: " OperationalError: (OperationalError) (1045, "Access denied for user 'username'@'localhost' (using password: YES)") None None"
I just done configuring by documentation on Mac-mini. ( Leopard server 10.5.8).
Any point will be appreciate!
Search Forums
10 posts Started 14 years ago by lancezhou Latest reply from Felix Schwarz
message: " OperationalError: (OperationalError) (1045, "Access denied for user 'username'@'localhost' (using password: YES)") None None"
I just done configuring by documentation on Mac-mini. ( Leopard server 10.5.8).
Any point will be appreciate!
Looks like you just need to configure your database username and password. The database user/pw/dbname can be found in development.ini, search for sqlalchemy.url
— and don't forget to populate your database the data in setup.sql as well!
Cheers!
Yes, it is working now. I just had edit deployment.ini before.
What is different , same edit in both file?
Thanks again.
The app will only ever use one ini file at a time, so you should double check that you're using the one you mean to be. It sounds to me like you must've accidentally launched with one config file the first time and then a different file later. Are you deploying MediaCore with Apache & mod_wsgi?
I had follow steps for Mac with doc. I don't use mod_wsgi.
check here:
$ paster make-config MediaCore deployment.ini
$ paster serve --reload development.ini
Site comes after I done same in both ini file.
I will do it again with new release under Snow Leopard.
I got new error after I start with fresh install.
>> TypeError: object.__init__() takes no parameters
I'm using MediaCore 0.7.2
Snow Leopard 10.6.2; Python 2.6.1 (default)
I don't know how to upgrade with $paster quickstart.
Any advice will be help and appreciate.
Apparently this is an error with Python 2.6 - the pylons wsgi controller seems to be the issue here. If arguments are passed to object.__init__() gives you an error instead of silently ignoring the error.
We're using Python 2.5 so it might be worth giving that a try. We're using MacPorts to install Python 2.5 instead of 2.6
See this here in the docs:
http://getmediacore.com/docs/install/index.html#a-note-for-mac-os-x-users
Until TurboGears fixes it's issues with 2.6 this will continue to be an issue.
Hope that helps.
Thanks again. I have to down to Leopard 10.5
It definitely works on 10.6 as that is what we all are using.
1. Install XCode - http://developer.apple.com/technology/xcode.html
2. Install MacPorts - http://www.macports.org/install.php
3. Follow the rest of the directions here: http://getmediacore.com/docs/install/index.html#a-note-for-mac-os-x-users
Actually this was an error in MediaCore which was fixed today:
http://github.com/simplestation/mediacore/commit/30c4ad6e93198a7db6ca533e42f569fa54c8cde2
You must log in to post.