How to create Mysql database in cpanel?

You can create Mysql database in cpanel and for that you can follow below steps:

Go to hosting control panel (cPanel)

- In MySQL section

- Create-database (ex. username_databaseNAME)

mysqldatabase.png

- Create-User with password ( user will be username_User)

user.png

- Give that user all the priviledges of data bases.

MySql hostname will be localhost

Connection string ;

mysql_connect("localhost", "Username_USer", "PASSWORD") or die(mysql_error());
mysql_select_db("USername_ DATABASE") or die(mysql_error());

Username is your hosting login userid.

  • Mysql database, create Mysql database, create Mysql database in cpanel, Mysql database in cpanel, database in cpanel, mysql
  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Flash tutorials to manage control panel

My SQL A guide to creating and modifying MySQL databases in cPanel. Quality: High | Low Change...

Flash tutorials to manage email

Email Accounts Manage the email accounts associated with your domain(s). Quality: High | Low...

Where can I find cPanel tutorials?

Check cPanel docs :http://www.cpanel.net/docs/cpanel/

How do I use .html files to run SSI (Server Side Includes)?

Apache Handlers This is what you would use to specify how to treat file types. By default,...

WordPress SMTP Authentication

SMTP auth support can be added in wordpress through third party plugins. You can follow these...