Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database example #1

Open
ahmedcharef opened this issue Dec 12, 2019 · 1 comment
Open

Database example #1

ahmedcharef opened this issue Dec 12, 2019 · 1 comment

Comments

@ahmedcharef
Copy link

Aslema Anouar,

Good job for this amazing work ! :D

Could you share an example of database columns.

Thank you 👍

anouarbensaad added a commit that referenced this issue Dec 12, 2019
@anouarbensaad
Copy link
Owner

Aslemaa,
Thank you ahmed, 🙏


  • Create an empty database;
CREATE DATABASE database_name;
mysql -u username -p database_name < instalogDB.sql
function IGAPIDB(){
	const self = {}
	var pool  = mysql.createPool({
	  connectionLimit : 10,
	  host:     "<YOUR DB HOSTNAME | LOCALHOST>",
	  user:     "<DB USERNAME>",
	  password: "<DB PASSWORD>",
	  database: "<DATABASE_NAME>",
	  charset:  "utf8mb4_unicode_ci"
	});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants