Polski Związek Krótkofalowców |
Polski Klub Radiovideografii |
Navigation: Topics for designing for programs amateur radio and professional persons > Instalation database MYSQL for computer science > Basic Concepts for databases |
|
Presented below help for the installation of MYSQL database is intended for experienced people in computer science who wish install the MySQL database itself. Due to the fact that many amateurs had problems with standalone MySQL installations despite this help, I developed program to automatically install the database, named MYSQL_INSTALL_AUTOMATIC_ALL_COMPONENT_AND_CONFIGURE_IT.exe. With this program , you can easily automatic install the MySQL database as the program itself gets parameters to the MySQL server configuration from the ini file setup.ini . This file contain parameters for server MYSQL to work properly for my program for awards AWARD_SECRETARY .. Ham - radio amateur in this way has work instal MYSQL very simole , because they do not have to answer any questions during installation. The program MYSQL_INSTALL_AUTOMATIC_ALL_COMPONENT_AND_CONFIGURE_IT.exe, can also be used by a programmer, if you need to give the customer an easy tool for self-installation of MYSQL database. You must then only edit this configuration file setup.ini . It is known, "Mrs. Sophie in accounting will not install yourself MYSQL database" |
• | To be able to communicate with the user radio amateur I have to give a few ideas for databases., the knowledge of which will allow for a better understanding as to what I write in the help system - and what do program AWARD_SECRETARY |
Data about persons, objects or abstract concepts are included in the database. To handle databases are designed so database engines., there are known the following engines to the database
• | MYSQL - free database engine also known as database MYSQL . Although this is a free database engine on this is build professional programs to handle tasks related to databases. |
• | are present also more of which I will not mention here |
• | One program can simultaneously support multiple databases. In computer science , often is used the term Schema. For end users, the term is synonymous with the term database. For example, in the AWARD_SECRETARY database (Schema) for service awards is named AWARDS_BASE |
• | Defining MYSQL table for the field, we will set : |
• | Name field |
• | Type data in field (string data varchar , integer , real , text) |
• | length data no of used bytes |
• | standard characters in which they are signs of the field( latin1 , utf-8) |
• | The user should be familiar some with the concept ODBC |
• | ODBC (ang. Open DataBase Connectivity - is an interface that allows programs to connect to database management systems. This connection is somehow standarized . Using ODBC in the application program we have defined the standard procedures for communication with the database - no matter what type of database. For us, the best thinking about the driver ODBC allows connection to the database . For each type of database is for a separate driver - which is usually installed with the installation of the database. In this way, we have a connection independent of the programming language, and database. |
• | The program communicates with the database through an ODBC link has yet to know data what are called Data Source Name (DSN). {not to be confused with the concept of DNS - Domain Name Server). DSN contains the following fields |
• | Name Database that it is working with the program AWARD_SECRETARY. Here the database for awards is called AWARDS_BASE |
At this moment, for the day 30.08.2011, the latest version of the MySQL database engine is version 5.5. It differs in relation do version 5. 1 MYSQL other programs to handle the administration database.
• | For administrative support MySQL version 5.1 is designed program MySQL Administration in version 1.2.17 It comes in the package MySQL GUI Tools mysql-gui-tools-5.0-r17-win32.msi. |
• | Database Design and Modeling |
• | Database browsing |
MYSQLWorkbench program is quite a complicated program to use and designed primarily for designers - MYSQL database developers. Therefore, bellow I describes the installation of MySQL version 5.1 and version 5.5 of MySQL. You will decide which version to choose after hearing the installation and configuration
• | For my part, I recommend the radio amateurs who are not engaged in computer science install MySQL server version 5.1 because install the MySQL administration tool administration and its operation is much easier. Persons who come into contact with IT professional may try to install MySQL 5.5 and administration tool MySQL Workbench Version 5.2.39 |
Note!
Numbers given here are versions may be slightly larger - about one or two versions - as most of the software is downloaded from the Internet, and therefore can be downloaded versions with 1 or 2 higher
Navigation: Topics for designing for programs amateur radio and professional persons > Instalation database MYSQL for computer science > Basic Concepts for databases |
|