describe how you would create a new database using your software.
Please note that you can not create a database directly through cPanel->PhpMyAdmin due to the lack of user privileges. 1. You can easily create a new database from your cPanel->MySQL Databases. Navigate to the Create New Database box. [ Enter the database name in the New Database text field and click on the Create Database button.
2. The database name will be preceded by the cPanel username.
For example, if your cPanel user name is user and you want to have a database named test, the actual database name will be user_test. You will get a confirmation message.
3. Navigate to your cPanel->PhpMyAdmin tool and open the newly create database. It is empty and there are no tables.
4. Enter the table name and the number of fields. Click on the Go button to create the table.
On the next screen you should enter the fields' names and the corresponding properties.
a. Type - Here you should pick the type of the data, which will be stored in the corresponding field. More details about the possible choices can be found in the official MySQL Data Types documentation.
b. Length/Values - Here you should enter the length of the field. If the field type is "enum" or "set", enter the values using the following format: 'a','b','c'...
c. Collation - Pick the data collation for each of the fields.
d. Attributes - The possible attributes' choices are:
BINARY - the collation for the field will be binary, for example utf8_bin;
UNSIGNED - the field numeric values will be positive or 0;
UNSIGNED ZEROFILL - the field numeric values will be positive or 0 and leading zeros will be added to a number;
ON UPDATE CURRENT_TIMESTAMP - the value for a data type field has the current timestamp as its default value, and is automatically updated;
e. Null- Here you define whether the field value can be NULL. More about the NULL value can be found in the corresponding MySQL documentation.
f. Default - This property allows you to set the default value for the field.
There are no new answers.