Changes between Version 38 and Version 39 of MySqlDb
- Timestamp:
- May 11, 2009, 9:13:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MySqlDb
v38 v39 1 [[PageOutline(2-3)]] 1 2 = MySQL and its MySQLdb Python bindings = 2 3 … … 76 77 - [http://mysql-python.svn.sourceforge.net/viewvc/mysql-python/tags/MySQLdb-1.2.2/MySQLdb/site.cfg?revision=499&view=raw MySQLdb-1.2.2/MySQLdb/site.cfg] 77 78 78 === Troubleshooting ===79 If you get an error from python when using trac-admin like this:80 {{{81 OperationalError: (1045, "Access denied for user 'tracuser'@'localhost' (using password: YES)")82 }}}83 There are a few possibilities:84 1. Try first to login on the command-line using the user tracuser (mysql -p -h localhost -u tracuser)85 1. Created user is not yet used by MySQL (Login to the MySQL server(as root): mysql -p and type FLUSH PRIVILEGES;)86 1. The user is added but the host does not match in the mysql user table (I had this on my FreeBSD setup). mysql -p; use mysql; UPDATE user SET Host="localhost" WHERE User="tracuser"; FLUSH PRIVILEGES;)87 88 79 == Known Issues == 89 80 === Still Opened === … … 98 89 99 90 (corresponding [query:keywords=~mysql&status=!closed custom query]) 91 92 === Troubleshooting === 93 If you get an error from python when using trac-admin like this: 94 {{{ 95 OperationalError: (1045, "Access denied for user 'tracuser'@'localhost' (using password: YES)") 96 }}} 97 There are a few possibilities: 98 1. Try first to login on the command-line using the user tracuser (mysql -p -h localhost -u tracuser) 99 1. Created user is not yet used by MySQL (Login to the MySQL server(as root): mysql -p and type FLUSH PRIVILEGES;) 100 1. The user is added but the host does not match in the mysql user table (I had this on my FreeBSD setup). mysql -p; use mysql; UPDATE user SET Host="localhost" WHERE User="tracuser"; FLUSH PRIVILEGES;) 101 100 102 101 103 == Conversion ==