Table of contents
Import database.sql back in your server with phpmyadmin
There are two easy ways to proceed:
- Through web interface (Phpmyadmin), o
- Through command at a terminal screen (command mysql)
1.1.1. Through web interface (Phpmyadmin)
Go to your Phpmyadmin installation.Select your database name, from the drop down list on the left column in the previous screen.
You have to go to the phpmyadmin tab which says "SQL", (versions 2.6.x of Phpmyadmin, like the one in the https://tiki.org/TikiLiveCD, or tab "Import", included in version 2.8.x of Phpmyadmin, for instance).
![]() Export tab, in Phpmyadmin version 2.8.x
|
1.1.2. Through command at a terminal screen (command mysql)
Write a command like
Copy to clipboard
In your case, change in the example above:
- user for your username at the mysql server
- pass for the password for that username at the mysql server
- tiki19 for your database name, and
- yymmdd for the two digits of year, month and day, respectively, for instance, to have your backups easily sorted by name and date of creation also.
If you had exported your database without the option to delete the tables (Drop tables, from the Backup instructions through Phpmyadmin) before attempting to restore them from the database backup, then you will have to empty the database tables first. (through phpmyadmin, for instance).
And in case that you have troubles with the character set used to import the database to mysql, you can specify the character set in which your sql database backup is encoded. In order to do so, you can add the parameter --default-character-set=code (and as code, you can set for instance utf8 or iso-8859-1)
As an example, in order to set the character set to utf8, you would have to write something like:
Copy to clipboard
1.1.3. Using MySqlDumper or HeidiSql
Both tools can import a sql file. See there homepages for details and examples.- http://www.mysqldumper.net/
- http://www.heidisql.com/
- BigDump (Staggered import of large and very large MySQL Dumps even through the web-servers with hard runtime limit and those in safe mode)
- Adminer (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server.
1.2. Working solution of simple interface for the assignment
Two pages are created for the simplest interface.1.2.1. Wiki Page: r_test_xavi
Copy to clipboard
1.2.2. Wiki Page: r_tests_xavi_template
Copy to clipboard
1.2.3. Tracker definition: Tracker Id 5
To learn how to use the code shown below, see https://doc.tiki.org/Import+TrackersCopy to clipboard
1.2.4. Tracker fields from Tracker Id 5
To learn how to use the code shown below, see https://doc.tiki.org/Import+TrackersCopy to clipboard
1.3. Improve interface with tabs for insert, edit, and list runs with your template.
Similarly to the interface you can find in the r_test3 page, created by the profile r_test, using PluginTABS and PluginFADE, for instance.1.4. Where to find help from now onwards
Tiki Forums (in general):- English: https://tiki.org/forums
- Spanish: https://tiki.org/forum15
- Catalan: https://tiki.org/forum16
Forum about Tiki & PluginR
- Spanish: http://r-es.org/forum3
- English: https://tiki.org/forum24
Email lists:
- Tiki Users:
https://lists.sourceforge.net/mailman/listinfo/tikiwiki-users - Tiki Developers
https://lists.sourceforge.net/mailman/listinfo/tikiwiki-devel
IRC Canal (chat):