79 | | == Known Issues == |
80 | | === Still Opened === |
81 | | [[TicketQuery(keywords=~mysql&status=!closed&group=milestone)]] |
82 | | |
83 | | === Typical Problems === |
84 | | If you have some strange issues (typically `OperationalError: (2006, 'MySQL server has gone away')`, as in #3645, and your web frontend is Apache, you might have conflicting mysql libraries. Be sure to read: mod_wsgi:ApplicationIssues#MySQL_Shared_Library_Conflicts. Another possibility is that you've hit MySQL bug 36639, as explained in ticket:3645#comment:48. |
85 | | |
86 | | When changing collation to ''utf8'' MySQL may fail in 4.1.x and 5.0.x versions on MyISAM table type. It will complain about "too big" indexes in some Trac tables. This will be (hopefully) addressed in [milestone:0.10.4]. As a workaround it has been [comment:ticket:3659:5 recommended] to use InnoDB tables instead of MyISAM where this limitation is absent. |
87 | | |
88 | | [[TicketQuery(keywords=~mysql&resolution=worksforme)]] |
89 | | |
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 | | |
102 | | |
103 | | == Conversion == |
| 79 | == Conversion Procedures == #Conversion |
| 105 | |
| 106 | |
| 107 | == Known Issues == |
| 108 | === Still Opened === |
| 109 | [[TicketQuery(keywords=~mysql&status=!closed&group=milestone)]] |
| 110 | |
| 111 | === Typical Problems === |
| 112 | If you have some strange issues (typically `OperationalError: (2006, 'MySQL server has gone away')`, as in #3645, and your web frontend is Apache, you might have conflicting mysql libraries. Be sure to read: mod_wsgi:ApplicationIssues#MySQL_Shared_Library_Conflicts. Another possibility is that you've hit MySQL bug 36639, as explained in ticket:3645#comment:48. |
| 113 | |
| 114 | When changing collation to ''utf8'' MySQL may fail in 4.1.x and 5.0.x versions on MyISAM table type. It will complain about "too big" indexes in some Trac tables. This will be (hopefully) addressed in [milestone:0.10.4]. As a workaround it has been [comment:ticket:3659:5 recommended] to use InnoDB tables instead of MyISAM where this limitation is absent. |
| 115 | |
| 116 | [[TicketQuery(keywords=~mysql&resolution=worksforme)]] |
| 117 | |
| 118 | (corresponding [query:keywords=~mysql&status=!closed custom query]) |
| 119 | |
| 120 | === Troubleshooting === |
| 121 | If you get an error from python when using trac-admin like this: |
| 122 | {{{ |
| 123 | OperationalError: (1045, "Access denied for user 'tracuser'@'localhost' (using password: YES)") |
| 124 | }}} |
| 125 | There are a few possibilities: |
| 126 | 1. Try first to login on the command-line using the user tracuser (mysql -p -h localhost -u tracuser) |
| 127 | 1. Created user is not yet used by MySQL (Login to the MySQL server(as root): mysql -p and type FLUSH PRIVILEGES;) |
| 128 | 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;) |