Need Help understanding what MySQL Database to create

Hi, i have some code here to create my own BTC Faucet. http://glados.cc/myfaucet/
It basically says i need to use its code and create a MySQL Databse for it

  1. I’ve Never done PHP or MySQL Ever

I was wondering if someone could look at the code and tell me what/how to do it, (even create the database for me so i can look and see)
And i am also wondering how i would get this onto the Web, i already have a Ubuntu Server (12.04) and a Domain hooked into the Server (is it Apache i use?)
Thanks!

Basically, it’s saying you need to go into Mysql and create a database that means run the create database statement…

CREATE DATABASE [yourdatabasename]

Then it wants you to create an user something like

CREATE USER 'username'@localhost' IDENTIFIED BY 'UserPassword' 

Then you need to grant access to that user

GRANT ALL PRIVILEGES ON [yourdatabasename].* TO 'username'@'localhost'   WITH GRANT OPTION;

Then execute the structure.sql file.

Then replace all the stuff in the config.php with the username, databasename and password you selected and run it.

Good Luck!

Sponsor our Newsletter | Privacy Policy | Terms of Service