Está en la página 1de 1

BASE DE DATOS EN WEBLINUX 1.- Creacin de una Base de Datos [root@weblinux2 ~]# mysql -uroot -pOp3RS.

,MySqL mysql (todo es el commando) Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1675 to server version: 4.1.15 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create database imahe; Query OK, 1 row affected (0.00 sec) mysql> grant all privileges on NOMBRE BD.* to USER@localhost identified by PASS; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> quit Bye [root@weblinux2 ~]# 2.- Eliminacin de una Base de Datos drop database nombre; Para provar la BD Mysql uUSER pPASS BD Mysql> ESTA OK

También podría gustarte