Database
The database system allows creating and modifying database tables. As usual you can edit the tables and datasets online. The import and export functions are available to handle large datasets. Database managementThe database manager can be opened with
The top line allows you to create a new database, first enter a database name and then click create. In the bottom part of the window, any existing database tables are displayed, e. g., database ‘shop’.
To edit a table, click on Edit next to database name.
Table viewThe table view displays every dataset (up to 50 per page) as a table. This enables you to change multiple datasets conveniently and quickly.
While in editing mode, click on
Database table view Editing fieldsClick into a field (it will be highlighted in red) and enter a text. You can use the cursor (1 2) to navigate from one field to another. Deleting row content, deleting column contentAfter selecting a dataset by clicking on the number to its left, the dataset can be deleted with the Backspace key.
Do the same procedure if you want to delete a complete column, just select the column to be deleted by clicking on its name. Copying row content, copying column contentThe functions of Adding, deleting and editing columnsAfter clicking
Now enter a column name and define its type. The setting ‘Type’ assists in filling out the database fields on a web page. For example a HMTL type will be displayed as a link in the editor or the image type will link to the image manager. Save your settings.
Editing datasetsThe datasets can be edited in the table view. But to insert long text or to use the filling function, the dataset view is more helpful. To show datasets in dataset view click on the dataset and then on Dataset viewThe dataset view shows all dataset columns in a handy overview.
To fill out details, click on a field and enter text. Using the tab key is an easy way of jumping to the next field.
Dataset quick selection – enter a dataset number to jump there directly Change this option means that the ID number of the next selected dataset raises by 1. Import and export through clipboardThe import and export function from/to the clipboard is a helpful tool to copy datasets from or to different programmes. Just open the
Press the
To import all data that has been changed select rows (maximum of 50) and all columns (the shop database has 19, this means for Microsoft Excel up to the row titled ‘S’). Within the menu click on Edit -> Copy, then go to bluetronix table view and click the
Importing a databaseUsing the import function allows you to handle large databases/datasets and merge them with your existing data. You can import either CSV files or TXT files.
Following example shows how to import a Microsoft Excel file with details about articles into the shop database. The number of columns matches the number of columns in the target table. The table row with column names has been deleted, as we do not want to transfer this information as article details.
Step 1 - Save file as CSV in ExcelIn Excel select File -> Save file as, enter a file name and select as file type CSV. Answer any following prompts with OK/Yes. Step 2 - Import file into the database management systemStart your homepage in editing mode and click
Now click on
Now select which file you want to upload and click Insert data.
Now define a target database, in this case it is the shop database. If you check the option ‘Clear existing data’ any data in the target table will be deleted before importing new data. If this option is not checked, imported data will be added to existing data sets.
To start the process, press Import. Depending on the size of data this can take several minutes. After finishing successfully you can check the result in the table view. The identical process is being used to import TXT files. Exporting a databaseBy using this function data of large size can be exported.
In editing mode click on MySQL commandsThe MySQL command input allows advanced users to create extra functions in addition to the database manger. The command interface can be found at |