Changes

Jump to: navigation, search

OPS345 Lab 4

456 bytes added, 01:47, 9 January 2022
Some basic SQL
The mysql '''dbroot''' user is not the same as the '''root''' user on the Linux machine that's running MariaDB. But it is the administrator of the entire database server, and therefor has access to all the data in all the tables, in all the databases. You should only user the root user for creating other users, creating and deleting databases, and for assigning permissions.
== Create an SQL user ==
Just as root: regular users in the DBMS are not in any way related to Linux users in /etc/passwd. Typically you will have on SQL user for each web application you have using the database server. SQL users also have SQL permissions, which have nothing to do with Linux permissions - they describe what operations that SQL user can do, on which databases.
 
If you were running your own MariaDB - you would create a user and assign p
<source></source>

Navigation menu