لاضافه قاعده جديده ننفذ التالي
[root@server] ~ # mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 27 Server version: 5.0.67-community MySQL Community Edition (GPL) Type 'help;' or 'h' for help. Type 'c' to clear the buffer. mysql> create database big;
big = اسم القاعده
طبعاً الان انشأنا القاعده لاكن الان هي تحت ملكيت الروت لاضافتها الى ملكيت يوزر معين ننفذ التالي :
mysql> GRANT ALL ON big.* TO myuser@localhost; Query OK, 0 rows affected (0.00 sec) mysql>
big = اسم القاعده
myuser = اليوزر نيم

0 تعليقات.