Author Topic: Meteotemplate - Assistance with MySQL  (Read 914 times)

0 Members and 1 Guest are viewing this topic.

Offline stefanbagnato

  • Senior Member
  • **
  • Posts: 87
Meteotemplate - Assistance with MySQL
« on: June 15, 2016, 02:41:08 PM »
Hey everyone,

I am working through Jachym's setup.php file.  However, I cannot get it to connect to my database (if it is even setup correctly).
My setup is a VP2, Envoy, personal server running Server 2012 R2, IIS installed with PHP and just installed MySQL and I BELIEVE created a database correctly.  At first, I could not get the setup.php file to find anything.  Now I am getting a Server 500 error, so I know I am closer.  I bet I am only missing a step or two, but I cannot for the life of me figure it out.

Any help would be greatly appreciated!

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8604
    • Meteotemplate
Re: Meteotemplate - Assistance with MySQL
« Reply #1 on: June 15, 2016, 05:16:04 PM »
Stefan, I have seen this error once in the past and the problem was that the person did not have MySQLi installed.

MySQLi is basically an improved MySQL, which is nowdays used instead of the older MySQL.

MySQL is recommended because it is safer and also has more functions. It stands for MySQL Improved.

Make sure you have MySQLi, that is what the template uses.

https://en.wikipedia.org/wiki/MySQLi

Offline stefanbagnato

  • Senior Member
  • **
  • Posts: 87
Re: Meteotemplate - Assistance with MySQL
« Reply #2 on: June 15, 2016, 08:25:52 PM »
Thanks Jachym.  I will work on that right now and get back to you.

Offline stefanbagnato

  • Senior Member
  • **
  • Posts: 87
Re: Meteotemplate - Assistance with MySQL
« Reply #3 on: June 15, 2016, 10:05:24 PM »
Now I can't even get the setup.php to open in the browser.  I think I'll call it a night and start back in the morning.  Whatever I did messed it up

 

anything