
Step 4/mySQL Database
Step 4/mySQL Database
Hi, can anyone help me to set up an mySQL database? i dont understand a shit 

Re: Step 4/mySQL Database
Are you setting up a local server? Normally you would get MySQL database info (username, password, databasename) from your provider. If no hostname is provided localhost (default) should be the correct setting.
Regards,
D
Regards,
D
Re: Step 4/mySQL Database
XAMPP installs and configures the MySQL server automatically.
Install it as a service so it gets started automatically when your computer is started.
To create the database:
Start mysql:
Create the database:
Give permissions to a database user (substitute username and password with your own values):
Reload the MySQL server:
You can also use PHPMyAdmin to create the database.
Regards,
D
Install it as a service so it gets started automatically when your computer is started.
To create the database:
Start mysql:
Code: Select all
mysql -u root -p
Code: Select all
create database cmsms;
Code: Select all
GRANT INSERT,SELECT,UPDATE,DELETE,CREATE,DROP ON cmsms.* TO username@localhost IDENTIFIED BY 'password';
Code: Select all
mysqladmin -u root -p reload
Regards,
D
Last edited by Anonymous on Fri Feb 16, 2007 8:46 am, edited 1 time in total.