How To Connect MySQL Database Tutorial Example
Open your MySQL Client tools then copy & paste the below code to Connect to MySQL database server
-- mysql.exe location: c:\xampp\mysql\bin\mysql.exe -- host: localhost -- username: root -- password: *** -- modify your host location, username, password accordingly. -- i am using dos prompt as client. you can use phpmyadmin or anything else you like. -- just copy & paste the bellow code in ms-dos prompt
c:\xampp\mysql\bin\mysql -hlocalhost -uroot -p
-- that's it!! we are connected to mysql database using the mentioned credentials
-- is comment in MySQL
-- in fact it is comment in MSSQL and Oracle as well
How To Connect MySQL Database Tutorial Example - Result in MySQL Client Tools
Related Tutorial Examples
- MySQL NULL Date value Example using PHP
- MySQL NULL values in arithmetic expressions SQL Statements Example
- MySQL NULL or NOT NULL value check Example using PHP
- MySQL NULL value check Example using PHP
- MySQL NULL value Example using PHP
- How to Modify Column From MySQL Existing Table Example
- MySQL Stored Procedure: Creating Table using Stored Procedure Example
- 20 steps to make CakePHP Blog Project

No comments:
Post a Comment
leave your comments here..