Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

3d browser Print

Import database

This is part of the Basic Docs Project. It needs review, and screenshots need to be replaced by their English equivalents
.

Table of contents



There are two easy ways to proceed:
  1. Through web interface (Phpmyadmin), o
  2. Through command at a terminal screen (command mysql)

A. 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 TikiLiveCD, or tab "Import", included in version 2.8.x of Phpmyadmin, for instance).

Export tab, in Phpmyadmin version 2.8.x


B. Through command at a terminal screen (command mysql)





Write a command like
mysql -uuser -ppass tiki19 < tiki19_backup_yymmdd.sql


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:
mysql -uuser -ppass --default-character-set=utf8 tiki19 < tiki19_backup_yymmdd.sql


Related pages

Related links


Contributors to this page: marclaporte4496 points  , Xavi25744 points  and system .
Page last modified on Wednesday 21 May, 2008 03:27:36 UTC by marclaporte4496 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC