Create Database


Create Database

Create database MySQL > login control panel >More information at Direct Admin Introduction > Add user name and password > Login > Your Account

Create Database

Create database MySQL > login control panel >More information at Direct Admin Introduction > Add user name and password > Login > Your Account

Create database MySQL > login control panel
More information at Direct Admin Introduction
Add user name and password > Login > Your Account


Click MySQL Management > Create New Database


After click Create New Database > fill in information > Create


Your database has been setup, use the following values

 

Get the detail connect with database by script php as follows

<?php
$dbhost = 'localhost';
$dbuser = 'username_data';
$dbpass = 'password';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'username_db';
mysql_select_db($dbname); ?>

In case phpmyadmin > click phpmyadmin > popup windows > user / pass


Fill in the detail > login to PhpMyAdmin