Page 1 of 1

MySQL 5.7.28 on a remote/VM server

Posted: Fri Feb 18, 2022 3:25 am
by tedukes
OK,

So I'm thoroughly pissed I have to revert back to 1.0.8.0 because hosting providers want to cater to the WordPress crowd.

I have a Lenovo server with dual xeon processors, 32GB RAM, 2-4TB Hds at home running Centos 8 Stream.

I saw where I could install MySQL 5.7.28 but that likely to kill Zoneminder, so I though about setting up a MySQL on a VirtualBox VM. Guess I could set up a Debian instance but I'm more familiar with Centos/RHEL. I run Debian on a couple RPis, Octoprint and PiHole.

Can Phoenix Cart run with a remote DB server and how would I set that up in the config files, const DB_SERVER = 'http://myvm.myhomedomain.com:3306'; ??

Re: MySQL 5.7.28 on a remote/VM server

Posted: Fri Feb 18, 2022 9:13 pm
by zipurman
I’d avoid running mysql offprem for a ecomm website due to speed.

Have you tried something like:
https://ubiq.co/database-blog/how-to-ru ... e-machine/

Re: MySQL 5.7.28 on a remote/VM server

Posted: Sat Feb 19, 2022 10:09 pm
by tedukes
Got it done!!

Had to do most of the set up of the VM via console. Couldn't get VirtualBox Guest Additions installed so copy and paste didn't work. MySQL 8 is tricky. Then I forgot to bridge my NIC. Got firewall and DNS going easily.

Went with MySQL 8.0.28 Community Edition. Took forever for MySQL to update everything. Also have to fix some datetime issues in the .sql for my 1.0.8.0 db.

Admin side works, shop side not so much. I can click on any link except a product. If I click on a product, I get a Down for Maintenance page. Not what's up with that!!