{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/ntopng/issues/318","labels_url":"https://api.github.com/repos/ntop/ntopng/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/ntop/ntopng/issues/318/comments","events_url":"https://api.github.com/repos/ntop/ntopng/issues/318/events","html_url":"https://github.com/ntop/ntopng/issues/318","id":122000105,"number":318,"title":"Unable to connect to remote mysql DB","user":{"login":"Undeadhunter","id":2438479,"avatar_url":"https://avatars.githubusercontent.com/u/2438479?v=3","gravatar_id":"","url":"https://api.github.com/users/Undeadhunter","html_url":"https://github.com/Undeadhunter","followers_url":"https://api.github.com/users/Undeadhunter/followers","following_url":"https://api.github.com/users/Undeadhunter/following{/other_user}","gists_url":"https://api.github.com/users/Undeadhunter/gists{/gist_id}","starred_url":"https://api.github.com/users/Undeadhunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undeadhunter/subscriptions","organizations_url":"https://api.github.com/users/Undeadhunter/orgs","repos_url":"https://api.github.com/users/Undeadhunter/repos","events_url":"https://api.github.com/users/Undeadhunter/events{/privacy}","received_events_url":"https://api.github.com/users/Undeadhunter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T09:00:17Z","updated_at":"2015-12-14T12:04:04Z","closed_at":null,"body":"```\r\n14/Dec/2015 09:54:42 [MySQLDB.cpp:320] Attempting to connect to MySQL for interface tcp://127.0.0.1:5556...\r\n14/Dec/2015 09:54:42 [MySQLDB.cpp:360] Succesfully connected to MySQL [mysqlDB:user] for interface tcp://127.0.0.1:5556\r\n14/Dec/2015 09:54:42 [MySQLDB.cpp:380] ERROR: MySQL error: [Access denied for user 'user'@'localhost' to database 'ntopng'][CREATE DATABASE IF NOT EXISTS ntopng]\r\n14/Dec/2015 09:54:42 [MySQLDB.cpp:36] ERROR: MySQL error: Access denied for user 'user'@'localhost' to database 'ntopng'\r\n14/Dec/2015 09:54:42 [Ntop.cpp:1149] Registered interface tcp://127.0.0.1:5556 [id: 3]\r\n14/Dec/2015 09:54:42 [Ntop.cpp:1162] Registered interface view tcp://127.0.0.1:5556 [id: 3]\r\n14/Dec/2015 09:54:42 [Utils.cpp:304] User changed to nobody\r\n14/Dec/2015 09:54:42 [main.cpp:240] PID stored in file /var/tmp/ntopng.pid\r\n```\r\nIn the config file I use \r\n\r\n`-F=\"mysql;mysqlDB;ntopng;flows;user;\"`\r\n\r\nI don't know why it keeps going back to trying to connect to the localhost server\r\n\r\nTrying to run from command line gives me the same issues, and I can't find much information in the documentation besides how to connect."},"comment":{"url":"https://api.github.com/repos/ntop/ntopng/issues/comments/164420653","html_url":"https://github.com/ntop/ntopng/issues/318#issuecomment-164420653","issue_url":"https://api.github.com/repos/ntop/ntopng/issues/318","id":164420653,"user":{"login":"Undeadhunter","id":2438479,"avatar_url":"https://avatars.githubusercontent.com/u/2438479?v=3","gravatar_id":"","url":"https://api.github.com/users/Undeadhunter","html_url":"https://github.com/Undeadhunter","followers_url":"https://api.github.com/users/Undeadhunter/followers","following_url":"https://api.github.com/users/Undeadhunter/following{/other_user}","gists_url":"https://api.github.com/users/Undeadhunter/gists{/gist_id}","starred_url":"https://api.github.com/users/Undeadhunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undeadhunter/subscriptions","organizations_url":"https://api.github.com/users/Undeadhunter/orgs","repos_url":"https://api.github.com/users/Undeadhunter/repos","events_url":"https://api.github.com/users/Undeadhunter/events{/privacy}","received_events_url":"https://api.github.com/users/Undeadhunter/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T12:04:04Z","updated_at":"2015-12-14T12:04:04Z","body":"Problem is that ntopng itself keep connecting to the localhost, instead of the host defined in the config file. "}}