Home Tags DATABASE

Tag: DATABASE

PHP MySQL Connect to Database PDO

Below is a sample PHP code, that after configuration, can be used to connect to your database. <?php $DBType = "mysql"; $DBHost = "database-host"; $DBPort = "3306"; $DBEnco =...

mysqldump Backup Database and mysql Restore Database

Below are examples of backing up databases and examples of restoring database backups. Backup: mysqldump -u -p > /path/to/file.sqlRestore: mysql -u -p <...

MySQL Connect Query Select Search Insert Update Delete

MySQL Connect<?php $mysqli = new mysqli("host", "username", "password", "dbname", "port", "socket"); if($mysqli -> connect_errno) { echo "MySQL Connection Error: " . $mysqli -> connect_error; exit(); } ?>MySQL Query: If you have...
Chernihiv
few clouds
14.6 ° C
14.6 °
14.6 °
42 %
3.1kmh
20 %
Sun
14 °
Mon
12 °
Tue
15 °
Wed
10 °
Thu
15 °
Google Translator