Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

External mysql2 connection #44

Closed
ProvostA opened this issue Jun 18, 2015 · 4 comments
Closed

External mysql2 connection #44

ProvostA opened this issue Jun 18, 2015 · 4 comments

Comments

@ProvostA
Copy link

When i try to configure the config file for an external mysql server, i got the error
"You need to install mysql package manually" when i start the codem-transcode server

{
"port": 8080,
"access_log": "/var/log/access_log",
"database": {
"dialect": "mysql",
"username": "root",
"database": "codem",
"host": "IP adress of my external server",
"port": 3306
},
"slots": 8,
"interface": "127.0.0.1",
"encoder": "ffmpeg",
"scratch_dir": "/tmp",
"use_scratch_dir": true,
"ffprobe": null
}

@tieleman
Copy link
Contributor

Did you install the mysql package using npm (either in the codem-transcode node_modules directory, or globally)?

# npm install mysql

@ProvostA
Copy link
Author

Hi Sjoerd ,

Thank you for fast tracking

I tried to install it in node_modules and falsehood has vanished.

Now I have to learn how to specify the password in the config file
There is no mention in the documentation about it. I tried different possibilities , without success.
Could you give me the name of the parameter ?

[_MG_9367]
Alain Provost
Responsable technique
Production audiovisuelle et multimédia
[courriel]http://www.audiovisuel.uqam.ca/
514.987.3000 poste 7683
Télécopieur : 514.987.4820

De : Sjoerd Tieleman [mailto:notifications@github.com]
Envoyé : vendredi 19 juin 2015 03:15
À : madebyhiro/codem-transcode
Cc : Provost, Alain
Objet : Re: [codem-transcode] External mysql2 connection (#44)

Did you install the mysql package using npm (either in the codem-transcode node_modules directory, or globally)?

npm install mysql


Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-113404301.

@ProvostA
Copy link
Author

Hi Sjoerd,

Sorry, i found the problem. I did a typo in the config file.

All is fine now

[_MG_9367]
Alain Provost
Responsable technique
Production audiovisuelle et multimédia
[courriel]http://www.audiovisuel.uqam.ca/
514.987.3000 poste 7683
Télécopieur : 514.987.4820

De : Sjoerd Tieleman [mailto:notifications@github.com]
Envoyé : vendredi 19 juin 2015 03:15
À : madebyhiro/codem-transcode
Cc : Provost, Alain
Objet : Re: [codem-transcode] External mysql2 connection (#44)

Did you install the mysql package using npm (either in the codem-transcode node_modules directory, or globally)?

npm install mysql


Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-113404301.

@tieleman
Copy link
Contributor

Good to hear, thanks!

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

No branches or pull requests

2 participants