Author Topic: Cleandb.sh for MS SQL Server  (Read 4102 times)

Offline eschaton

  • Newbie
  • *
  • Posts: 2
Cleandb.sh for MS SQL Server
« on: February 23, 2015, 01:19:08 AM »
I'm running RC 1.1.0 with MS SQL Server.  Almost everything seems to be working fine.  The only problem is when I try to run cleandb.sh from a command line I get an error that says:

"ERROR: could not find driverError 500: No DB connection"

Is it expecting MySQL perhaps?  Is there something I need to do to make this work with MS SQL Server?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Cleandb.sh for MS SQL Server
« Reply #1 on: February 23, 2015, 03:14:45 AM »
Can't find driver would tend to indicate that PHP can't find the mssql PDO driver. Maybe your command line php and your web server PHP have different configurations.

Offline eschaton

  • Newbie
  • *
  • Posts: 2
Re: Cleandb.sh for MS SQL Server
« Reply #2 on: February 23, 2015, 06:21:26 AM »
That was it. I had two versions of PHP installed and the PATH was pointing to the wrong one.  Thanks!