Tools, FAQ, Tutorials:
Using MySQL Command Line Interface in PHP
How To Use MySQL Command Line Interface in PHP?
✍: FYIcenter.com
MySQL server comes with a command line interface, which will allow you to operate with the server with SQL statements and other commands. To start the command line interface, you can run the \mysql\bin\mysql program. The tutorial exercise below shows you how to use the command line interface to create a table and insert a row to table:
>\mysql\bin\mysql Welcome to the MySQL monitor. Commands end with ; or \g. mysql> use test; Database changed mysql> CREATE TABLE fyi_links (url varchar(80)); Query OK, 0 rows affected (0.58 sec) mysql> INSERT INTO fyi_links VALUES ('dev.fyicenter.com'); Query OK, 1 row affected (0.38 sec) mysql> SELECT * FROM fyi_links; +-------------------+ | url | +-------------------+ | dev.fyicenter.com | +-------------------+ 1 row in set (0.00 sec) mysql> DROP TABLE fyi_links; Query OK, 0 rows affected (0.34 sec) mysql> quit; Bye
2016-10-22, 933👍, 0💬
Popular Posts:
How To Support Multiple-Page Forms in PHP? If you have a long form with a lots of fields, you may wa...
How to Instantiate Chaincode on BYFN Channel? You can follow this tutorial to Instantiate Chaincode ...
FYIcenter.com Online Tools: FYIcenter JSON Validator and Formatter FYIcenter JSON to XML Converter F...
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text ...
How to use urllib.parse.urlencode() function to encode HTTP POST data? My form data has special char...