Difference between revisions of "Databases"

From Sinfronteras
Jump to: navigation, search
(Instalación de MySQL)
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
A database is an organized collection of data.[1] It is the collection of schemas, tables, queries, reports, views, and other objects. https://en.wikipedia.org/wiki/Database
 
  
==SQL==
+
<br />
SQL (Structured Query Language) is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system (RDSMS). https://en.wikipedia.org/wiki/SQL
+
A database is an organized collection of data. It is the collection of schemas, tables, queries, reports, views, and other objects. https://en.wikipedia.org/wiki/Database
  
==Database management system==
+
A very basic and nice explanation of the types of DBMS: https://www.youtube.com/watch?v=FR4QIeZaPeM&feature=emb_logo
A database management system (DBMS) is a computer software application that interacts with the user, other applications, and the database itself to capture and analyze data. A general-purpose DBMS is designed to allow the definition, creation, querying, update, and administration of databases. Well-known DBMSs include MySQL, PostgreSQL, MongoDB, Microsoft SQL Server, Oracle, Sybase, SAP HANA, and IBM DB2. A database is not generally portable across different DBMSs, but different DBMS can interoperate by using standards such as SQL and ODBC or JDBC to allow a single application to work with more than one DBMS. Database management systems are often classified according to the database model that they support; the most popular database systems since the 1980s have all supported the relational model as represented by the SQL language. https://en.wikipedia.org/wiki/Database
 
  
==MySQL==
 
MySQL est un système de gestion de bases de données relationnelles (SGBDR). Il fait partie des logiciels de gestion de base de données les plus utilisés au monde. En informatique, un système de gestion de base de données (abr. SGBD) est un logiciel système destiné à stocker et à partager des informations dans une base de données. SQL fait référence au Structured Query Language, le langage de requête utilisé. SQL (sigle de Structured Query Language, en français langage de requête structurée) est un langage informatique normalisé servant à exploiter des bases de données relationnelles.
 
  
===Instalación de MySQL===
 
https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
 
  
'''Step 1 — Installing MySQL:'''
+
'''NoSQL databases''':<br />
sudo apt-get update
+
This is good to start understanding NoSQL databases and the difference with relational databases: https://www.youtube.com/watch?v=uD3p_rZPBUQ
sudo apt-get install mysql-server
 
  
'''Step 2 — Configuring MySQL:'''
 
sudo mysql_secure_installation
 
  
To initialize the MySQL data directory, you would use:
 
mysql_install_db (for versions before 5.7.6)
 
mysqld --initialize (for 5.7.6 and later)
 
  
However, if you installed MySQL from the Debian distribution, like in Step 1, the data directory was initialized automatically; you don't have to do anything. If you try running the command anyway, you'll see the following error:
+
'''Data Warehouse''':<br />
 +
This is a very good explanation of what a Data Warehouse is: https://www.youtube.com/watch?v=k4tK2ttdSDg
  
'''Step 3 — Testing MySQL:'''
 
  
Regardless of how you installed it, MySQL should have started running automatically. To test this, check its status:
 
systemctl status mysql.service
 
  
 +
<div style="width:30%">
 +
<div style="margin-left:-50pt">
 +
{{#lst:Mis páginas|databases}}
 +
</div>
 +
</div>
  
If MySQL isn't running, you can start it with:
 
sudo systemctl start mysql.
 
  
For an additional check, you can try connecting to the database using the mysqladmin tool:
+
<br />
mysqladmin -p -u root version
 
 
 
===PhpMyAdmin===
 
PMA est une application Web de gestion pour les systèmes de gestion de base de données MySQL réalisée en PHP et distribuée sous licence GNU GPL.
 
 
 
===MySQL shell===
 
A través de la línea de comando
 
 
 
==Oracle Database==
 
C'est un système de gestion de base de données relationnelle (SGBDR)
 
 
 
===Oracle SQL Developer===
 
C'est un environnement de développement intégré (EDI) multi-plateforme, fourni gratuitement par Oracle Corporation et utilisant la technologie Java (Java Development Kit). C'est un outil graphique permettant d'interroger des bases de données Oracle à l'aide du langage SQL.
 

Latest revision as of 20:09, 31 March 2023