|
| ||||||||||
| Tags: create query, database, erp, my sql, rdbms, table |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Basics of My SQL
|
|
#2
| |||
| |||
| Re: Basics of My SQL
MySQL is an SQL based RDBMS that executes only on a broad array of operating systems. MySQL is often used by PHP and Perl scripts. You need to get the SQL commands that apply to MySQL operating under all operating systems. But these instructions are according to the Windows OS. The spotlight is on Windows XP Professional and Windows 2000 Professional based computer machines. If you are running Windows 95, 98 or Me then please do not run mysqld installation because those operating systems are not capable to host a "service." So, you need to run MySQL as a standalone application by executing the command mysqld --standalone . |
|
#3
| |||
| |||
| Re: Basics of My SQL
As soon as you finish activating the "MySQL 50 Shortcut" that you have created then starts typing the following. Code: mysql-u root-p Code: Welcome to the MySQL monitor. Commands end with; or \ g. Your MySQL connection id is 1 to server version: 5.0.51b Type 'help;' or '\ h' for help. Type '\ c' to clear the buffer. |
|
#4
| ||||
| ||||
| Re: Basics of My SQL
Instruct to setup a new MySQL database Code: mysql 5.0.51b> create database database01; Database database01 "created. Code: mysql 5.0.51b> use database01 Database changed Code: mysql 5.0.51b> create table table01 (field01 integer, field02 char (10)); Query OK, 0 rows affected (0.00 sec) |
|
#5
| |||
| |||
| Re: Basics of My SQL
The MySQL command line interface will let you to put a command on single line or stretch it across numerous lines. There's no dissimilarity in syntax among both of them. With various lines you would be able to break down the SQL statement into steps so that you can comprehend them easily. In multiple line mode, the interpreter reads those all lines as it should be reading. This will go on till a semicolon ";" comes to end the SQL statement. As soon as you press enter key after semi-colon then statement gets executed. |
|
#6
| |||
| |||
| Re: Basics of My SQL
Creating a Database in MySQL- The CREATE statement is used to create a database. Syntax: CREATE DATABASE tablename; e.g. CREATE DATABASE database1; Creates a database named database1. |
|
#7
| ||||
| ||||
| Re: Basics of My SQL
Once you are aware of some rudimentary commands in order to run a database in MySQL. As MySQL is operated by running SQL calls, you have a large array of extremely powerful tools at your disposal. For example, you're capable of showing data from more than a few tables at the same time by joining related fields. Likewise, SQL lets you run complex displays, updates or deletions of several records that fits detailed criteria. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Basics of My SQL" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basics of accounting | Baijnath | Off Topic Chat | 4 | 19-11-2010 02:23 PM |
| Basics of PL/SQL programs | Laquan | Software Development | 5 | 15-02-2010 03:35 PM |
| Basics of NetBeans IDE | - Empty Shell - | Software Development | 4 | 14-02-2010 03:56 AM |
| PHP Course : Basics | Gyan Guru | Guides & Tutorials | 1 | 20-11-2008 12:10 PM |
| Java Programming Language Basics: Reflection Basics and Class Class | mayuri_gunjan | Guides & Tutorials | 6 | 29-08-2005 12:04 AM |