Enter mariadb via command line after installing XAMPP on Windows

Source: Internet
Author: User

Digression: Read "MySQL must know will", the book Let me find a database server practiced hand, I went to a xampp, because of the 08-year NetEase on the dynamic website development, that time xampp in the M for MySQL, and later through the command line into the MySQL appeared: Welcome to MariaDB ... Thought again out of the moth, and later found that, because MySQL was acquired by Oracle after the possibility of closed source, MySQL author also made a mariadb, named after his daughter ... Oracle is crying ... But it's still compatible with MySQL.

Start MySQL on XAMPP's control panel

Configure environment variables: Add C:\xampp\mysql\bin, Win+r, cmd Enter, mysql-u root-p Enter password (if it is the first time, direct enter, default password "")

The following commands are followed:

SHOW DATABASES; Show available Databases
Use first_db; Use the database
SHOW TABLES; Show all tables for this database
Show COLUMNS from table name//Display table column

Enter mariadb via command line after installing XAMPP on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.