Notice: Payments for answers will end 4/10/2017. Click for more info.
You have new items in your feed. Click to view.
Question and answer
Q: describe how you would create a new database using your software.
A: 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. g. ]
Expert answered|nexie10|Points 115|
Question
Asked 6/12/2013 5:51:25 PM
0 Answers/Comments
Get an answer
New answers
Rating

There are no new answers.

Comments

There are no comments.

Add an answer or comment
Log in or sign up first.
26,401,137 questions answered
Weegy Stuff
S
P
P
L
P
P
P
Points 131 [Total 1867] Ratings 3 Comments 101 Invitations 0 Online
S
Points 70 [Total 81] Ratings 5 Comments 20 Invitations 0 Offline
S
Points 30 [Total 30] Ratings 3 Comments 0 Invitations 0 Offline
S
Points 19 [Total 19] Ratings 1 Comments 9 Invitations 0 Offline
S
Points 16 [Total 16] Ratings 0 Comments 6 Invitations 1 Offline
S
L
Points 15 [Total 112] Ratings 0 Comments 15 Invitations 0 Offline
S
Points 11 [Total 11] Ratings 1 Comments 1 Invitations 0 Offline
S
Points 10 [Total 10] Ratings 1 Comments 0 Invitations 0 Offline
S
Points 10 [Total 10] Ratings 1 Comments 0 Invitations 0 Offline
S
Points 10 [Total 10] Ratings 1 Comments 0 Invitations 0 Offline
* Excludes moderators and previous
winners (Include)
Home | Contact | Blog | About | Terms | Privacy | © Purple Inc.