Page 1 of 2

MYSQL Setup

Posted: Wed Apr 19, 2017 7:14 pm
by vpokroglo
Could anyone please write step by step tutorial to setup mysql settings in CumulusMX.

I spend hours to set up, but always get parsererror when clicking on either button - Create monthly, Create dayfile...
What does Port settings (default 3306) mean?

If I do importing with ImportCumulusFile.php script it is working OK.

Any suggestion? Thanks.

Re: MYSQL Setup

Posted: Wed Apr 19, 2017 7:21 pm
by dazza1223
you need to create a SQL table ie like (Cumulus) then in Cumulus setting put the name of SQL table then save them setting the click at the bootom Create database table

Re: MYSQL Setup

Posted: Wed Apr 19, 2017 7:26 pm
by vpokroglo
I already done database
I got database name, user name, password.
I also got tables done ImportCumulusFile.php script.

I have Monthly, Realtime and Dayfile table already done.

The only problem is updating tables with cumulusMX.

Re: MYSQL Setup

Posted: Wed Apr 19, 2017 7:30 pm
by dazza1223
ok i hade this prob have u click on Monthly log file upload and you will see a box Enable and have u tick it


and is you sql on the same as where u hosting Cumulus from

Re: MYSQL Setup

Posted: Wed Apr 19, 2017 7:34 pm
by steve
There's only one step, fill in the details correctly that correspond to your MySQL server host, account and database. If you've done it correctly, then perhaps your server does not allow connections from other hosts.

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 7:16 pm
by vpokroglo
steve wrote:There's only one step, fill in the details correctly that correspond to your MySQL server host, account and database. If you've done it correctly, then perhaps your server does not allow connections from other hosts.


Voilaaa, My host only alows connections to MySql from static IP address.

Thanks for help!

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 7:54 pm
by dazza1223
where is ur SQL sever?

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 7:58 pm
by vpokroglo
dazza1223 wrote:where is ur SQL sever?


At my webhosting provider.


I am already querying for static IP address. That will solve my problem.

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:04 pm
by dazza1223
did u ask them what wrong as it might be something there end mate
i have my sql on the same server Cumulus and i have the raspberry pi 3 i just pay for my website name and pornt it to my server

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:06 pm
by dazza1223
ps i see u have Raspberry Pi 2 why do u do the same here mate

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:15 pm
by vpokroglo
Yes I know, that I could host my site on raspberry and only pay for domain name. ... but I have some more Years already paid to my web hosting provider, so I can transfer on raspberry when my hosting plan ends....

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:17 pm
by dazza1223
o ok well as u said have u ask them? to c if there know as thay can see the logs u cant so may be better asking them mate

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:25 pm
by vpokroglo
dazza1223 wrote:o ok well as u said have u ask them? to c if there know as thay can see the logs u cant so may be better asking them mate



Yes I have already asked them... see some posts upper (Voilaa....).
They do not allow connections from dynamic IP to Mysql.
I have dynamic IP. So i must get static IP first and then I could use CumulusMX built in Mysql settings.

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:27 pm
by dazza1223
ok 8-)

Re: MYSQL Setup

Posted: Thu Apr 20, 2017 8:51 pm
by Mapantz
vpokroglo wrote:Yes I have already asked them... see some posts upper (Voilaa....).
They do not allow connections from dynamic IP to Mysql.
I have dynamic IP. So i must get static IP first and then I could use CumulusMX built in Mysql settings.


Does Cpanel not have a 'Remote MySQL' option? I'm on a dynamic IP address, and I was having to continually add my IP address to allow a connection to it. I have now entered my DynDNS, which points to my IP address, and will update at the router level if my IP address changes.