Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
mysql issue on linux redhat 9..---->cant create tables in mysql
as a root user i created a database and granted a user access to it to create tables..
mysql> GRANT SELECT,INSERT,UPDATE,DELETE ON test2db.* TO test2db@localhost IDENTIFIED BY 'test2dbpwd2';
Query OK, 0 rows affected (0.08 sec)
then i logged in as the user "test2db"
mysql> use test2db
Database changed
mysql> status
--------------
mysql Ver 11.18 Distrib 3.23.54, for redhat-linux-gnu (i386)
Connection id: 8
Current database: test2db
Current user: test2db@localhost
Current pager: stdout
Using outfile: ''
Server version: 3.23.54
** tried creating a table using the following command but for some reason its not creating the table....
mysql> create table test_table (f_name varchar(20), l_name varchar(20), age int);
ERROR 1044: Access denied for user: 'test2db@localhost' to database 'test2db'
mysql>
am i missing something here?
i should also add that, i'm able to create the tables as a root user...
mysql> GRANT SELECT,INSERT,UPDATE,DELETE ON test2db.* TO test2db@localhost IDENTIFIED BY 'test2dbpwd2'
Note the list of privileges you granted: Select, Insert, Update and Delete. Note that none of these are CREATE. So basically, the database is behaving perfectly. You just need to grant yourself a few more permissions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.