Difference between revisions of "MySQL Manager"
(Created page with '<br> Database Manager is a web based MySQL client that allows you to create and manipulate MySQL databases. Database Manager is best used for creating databases. For populating…') |
|||
Line 1: | Line 1: | ||
− | + | == Overview == | |
− | Database Manager is | + | Database Manager is a web based MySQL client that allows you to create and manipulate MySQL databases. |
+ | |||
+ | Database Manager is used for creating databases. For populating a database, you should consider using a script(PHP, ColdFusion) or CGI. | ||
You can find more information about MySQL database at: http://www.mysql.com/ | You can find more information about MySQL database at: http://www.mysql.com/ | ||
− | + | == Adding a Database User == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <span style="color: black; font-size: 10pt; mso-fareast-font-family: 'times new roman'; mso-bidi-font-family: arial; mso-ansi-language: en-ca; mso-fareast-language: en-ca">To add a database user:</span> | |
− | + | #<span style="color: black; font-size: 10pt; mso-fareast-font-family: 'times new roman'; mso-bidi-font-family: arial; mso-ansi-language: en-ca; mso-fareast-language: en-ca">In the Users and Databases list, click '''Add Database User'''.</span> | |
+ | #<span style="color: black; font-size: 10pt; mso-fareast-font-family: 'times new roman'; mso-bidi-font-family: arial; mso-ansi-language: en-ca; mso-fareast-language: en-ca">In the Add New Database Username dialog, enter the password for the new user name.</span> | ||
+ | #<span style="color: black; font-size: 10pt; mso-fareast-font-family: 'times new roman'; mso-bidi-font-family: arial; mso-ansi-language: en-ca; mso-fareast-language: en-ca">Click '''Apply'''.</span> | ||
+ | #Click '''Close'''. | ||
− | + | == Creating a New Database == | |
− | + | To create a new database: | |
− | + | #In the Users and Databases list, click the user name for which you want to create a new database. | |
− | + | #In the Login Settings section, enter your password and click '''Login'''. | |
− | + | #In the MySQL Commands section, click '''Create'''. | |
− | + | #Click '''Database'''. | |
− | + | #Enter a database name. | |
+ | #Click '''Build Query'''. | ||
+ | #Click '''Run Query'''.<br>A dialog opens, displaying a list of pirvileges granted to the new database. | ||
Your user name is appended to the end of every database name. The Total maximum length is 64 characters long and any "." (dot) or "-" (dash) in the database name is automatically converted to "_" (underscore). | Your user name is appended to the end of every database name. The Total maximum length is 64 characters long and any "." (dot) or "-" (dash) in the database name is automatically converted to "_" (underscore). | ||
− | For example if you choose "customers" as your database name and your domain is mycar.com, the complete database name will be: | + | For example if you choose "customers" as your database name and your domain is mycar.com, the complete database name will be: |
− | customers_mycar_com | + | customers_mycar_com |
− | <br> | + | == Deleting a Database<br> == |
− | + | To delete a database: | |
− | + | #In the Users and Databases list,click the red icon beside the database you want to delete. | |
+ | #Click '''Apply'''. | ||
+ | #Click '''Cancel '''if you do not want to delete the selected database. | ||
− | + | == Managing your Database == | |
− | + | To change your password: | |
− | + | #In the Users and Databases list,click the user name of the database for which you want to change the password. | |
+ | #Select the '''Yes, I want to change the password for the selected user '''checkbox. | ||
+ | #Enter a new password. | ||
+ | #Confirm the new password. | ||
+ | #Click '''Apply'''. | ||
− | + | '''Note''' that this password is only for database administration. | |
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <br> | + | <br> |
− | + | To connect to your database: | |
− | Please contact technical support for your MySQL server name (host name). | + | *To connect to the database you have created, you need the following arguments to include in your application/script: |
+ | **''Database user name:'' [first 10 characters of domain name] + [random 6-digit number]. '''example''': if the domain name was "bob.the-mechanic.com", then the databse username would be something like bobthemech386296. '''Note''': that all non-alpha characters were removed ("." and "-"). | ||
+ | **''Password:'' The password will be the same as your Database Manager password. | ||
+ | **''Database name:'' It will be the complete name of database as outlined in Creating a database. | ||
+ | **Please contact technical support for your MySQL server name (host name). | ||
− | <br> | + | <br> |
[[Category:Setup]] | [[Category:Setup]] |
Revision as of 16:36, 4 November 2011
Contents
Overview
Database Manager is a web based MySQL client that allows you to create and manipulate MySQL databases.
Database Manager is used for creating databases. For populating a database, you should consider using a script(PHP, ColdFusion) or CGI.
You can find more information about MySQL database at: http://www.mysql.com/
Adding a Database User
To add a database user:
- In the Users and Databases list, click Add Database User.
- In the Add New Database Username dialog, enter the password for the new user name.
- Click Apply.
- Click Close.
Creating a New Database
To create a new database:
- In the Users and Databases list, click the user name for which you want to create a new database.
- In the Login Settings section, enter your password and click Login.
- In the MySQL Commands section, click Create.
- Click Database.
- Enter a database name.
- Click Build Query.
- Click Run Query.
A dialog opens, displaying a list of pirvileges granted to the new database.
Your user name is appended to the end of every database name. The Total maximum length is 64 characters long and any "." (dot) or "-" (dash) in the database name is automatically converted to "_" (underscore).
For example if you choose "customers" as your database name and your domain is mycar.com, the complete database name will be:
customers_mycar_com
Deleting a Database
To delete a database:
- In the Users and Databases list,click the red icon beside the database you want to delete.
- Click Apply.
- Click Cancel if you do not want to delete the selected database.
Managing your Database
To change your password:
- In the Users and Databases list,click the user name of the database for which you want to change the password.
- Select the Yes, I want to change the password for the selected user checkbox.
- Enter a new password.
- Confirm the new password.
- Click Apply.
Note that this password is only for database administration.
To connect to your database:
- To connect to the database you have created, you need the following arguments to include in your application/script:
- Database user name: [first 10 characters of domain name] + [random 6-digit number]. example: if the domain name was "bob.the-mechanic.com", then the databse username would be something like bobthemech386296. Note: that all non-alpha characters were removed ("." and "-").
- Password: The password will be the same as your Database Manager password.
- Database name: It will be the complete name of database as outlined in Creating a database.
- Please contact technical support for your MySQL server name (host name).