Re: 1045 Error accessing mysql db

2014-09-05 Thread wagnerbianchi.com
FYI WB 2014-09-04 21:27 GMT-03:00 정천기 : > Hi~~ > I think this trouble because change OS and MySQL grant Initialization.. > > Could you please follow my step... > > First.. check your (foo) grant > > root#] mysql -u root -p > mysql > select * from mysql.user where 'foo'; > > there is HOST column.

Re: 1045 Error accessing mysql db

2014-09-04 Thread wagnerbianchi.com
Do you know if the Python version has changed? Do you know what was the Python version you used to develop your script on CentOS 5? So, If anything has changed in mysql.user table or even in `foo` user credentials, it seems that your script must be reviewed and even the Python version in use curren

Re: 1045 Error accessing mysql db

2014-09-04 Thread Divesh Kamra
check weather there any space in localhost 'localhost ' Also check permission for 'foo' user though command select * from mysql.user where 'foo'; On Thu, Aug 21, 2014 at 6:53 AM, Augori wrote: > After an operating system change (CentOS 5 to CentOS 6), my Python script > could no longer conn

1045 Error accessing mysql db

2014-08-20 Thread Augori
After an operating system change (CentOS 5 to CentOS 6), my Python script could no longer connect with mysql database. I get the following error... mysql_exceptions.OperationalError: (1045, "Access denied for user 'foo'@ 'localhost ' (using password: YES)") I have granted all on all databases to