Edgewall Software

Changes between Version 39 and Version 40 of MySqlDb


Ignore:
Timestamp:
May 11, 2009, 9:14:50 PM (15 years ago)
Author:
Christian Boos
Comment:

move the #Conversion section up

Legend:

Unmodified
Added
Removed
Modified
  • MySqlDb

    v39 v40  
    7777 - [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]
    7878
    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
    10480
    10581==== MyISAM to InnoDB ====
     
    127103==== From SQLite ====
    128104Users have reported success with the [wiki:SqLiteToMySql following method].
     105
     106
     107== Known Issues ==
     108=== Still Opened ===
     109[[TicketQuery(keywords=~mysql&status=!closed&group=milestone)]]
     110
     111=== Typical Problems ===
     112If 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
     114When 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 ===
     121If you get an error from python when using trac-admin like this:
     122{{{
     123OperationalError: (1045, "Access denied for user 'tracuser'@'localhost' (using password: YES)")
     124}}}
     125There 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;)