Contents
How do you create a database in UNIX shell script?
You can use SQL on the command line: echo ‘CREATE DATABASE dbname;’ | mysql <…> Connect to DB using base user: mysql -u base_user -pbase_user_pass And execute CREATE DATABASE, CREATE USER and GRANT PRIVILEGES Statements.
How do I create a database in Linux?
On Linux with Gnome: In the Applications menu, point to Oracle Database 11g Express Edition, and then select Start Database. On Linux with KDE: Click the icon for the K Menu, point to Oracle Database 11g Express Edition, and then select Start Database.