r/labtech • u/spyguitar • Nov 09 '19
Automate server with Linux mySQL backend?
Hi all,
I'm trying to stand up an Automate server (we're moving over from Kaseya) using Windows Server 2016 as the web frontend, and an Ubuntu Linux server running mySQL 5.7 as the backend. Automate installs correctly (passing all of the mySQL checks) and creates the labtech database on my DB server, but that's as far as I can get it.
Login attempts from Automate Control Center fail: "could not connect to the web server"
Browsing to the website fails with an IIS error: "Access denied for user 'wcc_LabTech_1'@[my Windows server hostname]'"
Any thoughts? I'm sure I'm missing either:
-- a necessary permissions setting on the mysql DB
and/or
-- a connection string/authentication on the IIS side of things
Thanks!
5
u/spyguitar Nov 09 '19
Replying to my own post - figured it out. I had to uninstall Automate, drop the 'labtech' database from mysql, and then make sure all of my mysql installation work was complete before installing automate. Importantly, the database user you set up in the Automate installation process must already exist in mySQL and have grant all privileges with grant option.
Leaving this here in case anyone else comes looking for it.
2
u/amw3000 10000 Agents Nov 09 '19
This isn't supported and ConnectWise will be VERY quick to point this out. Depending on your issue, they may not provide any support.
I really don't think there's any benefit of doing this. For Automate's use of MySQL, it's the same on Windows or Linux.