20 | | Fix Database Issues: |
21 | | ''tbc'' |
| 20 | Trial run: |
| 21 | {{{ |
| 22 | cd /path/to/web2py |
| 23 | python web2py.py -S eden -M |
| 24 | }}} |
| 25 | Fix any Database Issues: |
| 26 | 1. The .table files in the databases directory contains what web2py knows about your database |
| 27 | 2. You need to set Migrate=True in {{{models/000_config.py}}} before you update the code and switch back to Migrate=False later on. |
| 28 | 3. In case of database mismatches - check the databases directory for the appropriate table ( cat the file ) and change accordingly. |
| 29 | |
| 30 | If using MySQL, then can use phpMyAdmin, if using SQLite then can use sqlite3 ({{{apt-get install sqlite3}}}) |