PHP Code die(‘Could not connect: ‘ . mysql_error()); Code Dissection 1. die() — A PHP Function. The die() function prints a message and exits the current script. 2. mysql_error() — A PHP function. The mysql_error() function returns the error description of the last MySQL operation.
Tag Archives: mysql
mysql start
MySQL tinkering mysql> create database jeffdatabase -> ; Query OK, 1 row affected (0.03 sec) mysql> show databases; +——————–+ | Database | +——————–+ | information_schema | | jeffdatabase | | mysql | +——————–+ 3 rows in set (0.00 sec) mysql> use jeffdatabase Database changed mysql> show tables; Empty set (0.00 sec) mysql> create table songs …