MYSQL Report
MYSQL Report
MYSQL Report
1. What is MySQL?
MySQL is a popular Open Source SQL relatational database management system, is
developed, distributed, and supported by Oracle Corporation. The MySQL Database Server
is very fast, reliable, and easy to use. It works in client/server or embedded systems.
First, i have to say that MySQL and Access there aren't the same type of software. Access is
part of a Suite-Office and offers to store datas. In easy words, its a database but it can's be a
DBMS.
In grosso modo a DNMS have to offer this services:
And more.
4. Visit the website of MySQL and find out about the different versions, create a table
with the different versions. Which one should we install?
6. Download the official MySQL 5.5 reference guide and any other interesting tutorial.
http://dev.mysql.com/doc/refman/5.5/en/
7. Follow the appropiate instructions for your system and install MySQL. Create a small
HOW-TO with a step by step guide. Poner que e puesto xamp y como se enciende
server, porque es automatico (carpeta bin se metio todo)
-Go to “Administración” and click in “Paquetes Synaptics”
- Search for Mysql 5.1 client and Server.
-Select them and click in “aplicar”.
-Now Mysql is being installed in your computer.
-Open a console and go to the folder of mysql: cd /bin/share/mysql
-The go to /etc and open with sudo nano my.cnf
-You have to edit this with this code: --default-storage-engine=innodb to the /etc/mysql/my.cnf
-The save the file and enjoy of Mysql.
The first HOW-TO didn't work. So i had to install Xammp. When a get installed i looked for the
direct access form the folder opt/lammp/lammp and i pasted it in the folder bin. Then putted in the
console to start mysql server when the computer starts. So now i only have to put “mysql” to run it.
8. What are the programs "mysql" and "mysqld"? what is the architecture of MySQL?
“mysql” is the process who indicates that MySQL Server in running on the pc.
“mysqld”, also known as MySQL Server, is the main program that does most of the work in
a MySQL installation. MySQL Server manages access to the MySQL data directory that
contains databases and tables. The data directory is also the default location for other
information such as log files and status files.
9. How do you start MySQL?
I have to put in console “mysql” or “mysql -u root ”
10.Log on the MySQL and write "show tables;"? what do we get? what is this?
11.How would we create a small database with 2 tables. You don't need to do it, just
explain the general process.
InnoDB is the default storage engine for MySQL as of MySQL 5.5, included as standard in
most binaries distributed by MySQL AB, the exception being some OEM versions. It
provides the standard ACID-compliant transaction features, along with foreign key support
(Declarative Referential Integrity).
Comparison:
*InnoDB recovers from a crash or other unexpected shutdown by replaying its logs.
MyISAM must fully scan and repair or rebuild any indexes or possibly tables which had
been updated but not fully flushed to disk. S
*MyISAM relies on the operating system for caching reads and writes to the data rows while
InnoDB does this within the engine itself, combining the row caches with the index caches.
Dirty (changed) database pages are not immediately sent to the operating system to be
written by InnoDB, which can make it substantially faster than *InnoDB stores data rows
physically in pages in primary key order while MyISAM typically stores them mostly in the
order in which they are added. When the primary key is selected to match the needs of
common queries this can give a substantial performance benefit.
*InnoDB provides page compression that allows updating of the compressed pages, unlike
compressed MyISAM tables.
*When operating in fully ACID-compliant modes, InnoDB must do a flush to disk at least
once per transaction, though it will combine flushes for inserts from multiple connections.
16.Is MySQL opensource? what license does it have? can we use it for commercial use?
MySQL offers MySQL 5.1 and 5.5 in two different variants: the open source MySQL
Community Server and the commercial Enterprise Server. The source code is available
under the terms of the GNU General Public License, as well as under a variety of proprietary
agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish
company MySQL AB, now owned by Oracle Corporation.
17.What is ACID?
The ACID model is one of the oldest and most important concepts of database theory. It sets
forward four goals that every database management system must strive to achieve:
atomicity, consistency, isolation and durability. No database that fails to meet any of these
four goals can be considered reliable.
18. Find information about any possible GUI to manage MySQL and compare them.
Which one will you choose for our practice.