0% found this document useful (0 votes)
2 views

MySQL

MySQL is a widely used relational database management system that supports both Windows and Linux, known for its efficiency, open-source nature, and high security. Organizations favor MySQL for its scalability and secure password traffic encryption. Key operations include starting and terminating the server, managing it with various tools, and understanding fundamental operations like establishing connections and selecting databases.

Uploaded by

saranyat2701
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

MySQL

MySQL is a widely used relational database management system that supports both Windows and Linux, known for its efficiency, open-source nature, and high security. Organizations favor MySQL for its scalability and secure password traffic encryption. Key operations include starting and terminating the server, managing it with various tools, and understanding fundamental operations like establishing connections and selecting databases.

Uploaded by

saranyat2701
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

What is MySQL?

MySQL is a relational database management system which has 11 million installations. It can
be used for both Windows and Linux. Managing database includes adding, accessing, and
processing data in a database.

Why do so many organizations use MySQL?


•Highly efficient
•Open source
•Highly secured since All password traffic is encrypted connecting to a server.
•Offers a high scalability in terms of size and connectivity.

How can you Start MySQL Server?


To start the MySQL program type its name in the command- line prompt. After starting the
MySQL program just display a welcome message using the following Syntax: %
MySQL Welcome to the MySQL monitor. Commands end with; or \your MySQL connection id
is 18427 to server version: 3.23.51-log Type 'help;' or '\h' for help. Type'\c' to clear the buffer. MySQL>

How can you terminate the MySQL Server?


Typing the following in Command prompt will shut down the server completely as root user
% mysqladmin -u root -p shutdown

Explain the tools that are available for managing MySQL Server.
Following are the tools to manage MySQL server:
•mysqld - MySQL server daemon. It is used to start the mysql server.
•mysqladmin –Used to perform administrative tasks.
•MySQL - A command-line interface for end users to manage user data objects.
•MySQL check - A command-line interface for administrators to check and repair tables.
•MySQL show - A command-line interface for end users to see information on tables and
columns.
•MySQL dump - A command-line interface for administrators or end users to export data from the server to
files.
•MySQL import - A command-line interface for administrators or end users to load data files into table’s
program tool to load data into tables.

What are the three fundamental operations that are common to MySQL Programs?
•Establishing a connection to the MySQL server.
•Selecting a database.
•Disconnecting from the server.

What are the data types available in PHP?


PHP provides eight types of values, or data types.1)

Four are scalar (single-value) types:


•integers,
•floating-point numbers,
•strings, and
•Booleans
2) Two are compound (collection) types:
•arrays and
•Objects.
3) The remaining two are special types:
•resource and
•NULL.

You might also like