<p>The original poster solved this in a follow-up comment:</p>

<blockquote>
  <p>After checking the log file - see my other question -, i activated the php functions "proc_open" and "proc_close" at my hoster's php settings and it worked. I'm not sure if i can leave these settings.</p>
</blockquote>

<p><code>proc_open</code> and <code>proc_close</code> are required if you want Craft 3 to automatically backup your database because it uses the native <code>mysqldump</code> and <code>pg_dump</code> binaries to perform the backup.</p>

<p>If, for whatever reason, you can't enable those methods, your options are to:</p>

<ol>
<li><p>Set the <a href="https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#property-backupcommand" rel="nofollow noreferrer">backupCommand</a> config setting to <code>false</code>. This will prevent Craft from performing database backups and you'll be responsible for manually creating them.</p></li>
<li><p>Set the <a href="https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#property-backupcommand" rel="nofollow noreferrer">backCommand</a> config setting to some other script or service that can perform a backup without using those disabled methods.  Craft will respect whatever is set in this config setting.</p></li>
</ol>

CC BY-SA 4.0
2018-09-28T02:33:53.967Z
Anyone actually do this yet (implement alternate way)? Would be amazing with a config flag to use a method not reliant on proc_open and so forth for us wrangling open_directory hosting...
Anders
CC BY-SA 4.0
2018-05-30T00:30:21.957Z
2018-05-30T00:30:21.957Z
Brad Bell
<p>Is the DB_DRIVER line set in your .env file? You may need to run the <code>./craft setup</code> script.</p>

CC BY-SA 3.0
2018-04-30T19:57:11.033Z
Thanks! I checked my .env file: DB Driver ist set to: DB_DRIVER="mysql". I also realized that i couldn't backup my database. After checking the log file - see my other [question](https://craftcms.stackexchange.com/questions/25891/craft-3-database-backup) -, i activated the php functions "proc_open" and "proc_close" at my hoster's php settings and it worked. I'm not sure if i can leave these settings.
TomS
CC BY-SA 3.0
2018-04-26T14:15:59.983Z
2018-04-26T14:15:59.983Z
Alex Glover
<p>i wanted update a new installed craft3 and got this message:
<a href="https://i.sstatic.net/uvU5l.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uvU5l.png" alt="enter image description here"></a></p>

<p>I took a look in the web.log file. The first line from today gives an error:
2018-04-25 03:39:23 [85.7.133.198][-][-][error][yii\base\InvalidConfigException] yii\base\InvalidConfigException: Unsupported DB driver value:  in /home/velolade/craft3/vendor/craftcms/cms/src/config/DbConfig.php:187</p>

<p>What's wrong here?
Thank you in advance for help!</p>

<craft3><database><updates>
Craft 3 update failure
# Craft 3 update failure

(Asked by: username_0 on 2018-04-25)

i wanted update a new installed craft3 and got this message:
[![enter image description here](https://i.sstatic.net/uvU5l.png)](https://i.sstatic.net/uvU5l.png)

I took a look in the web.log file. The first line from today gives an error:
2018-04-25 03:39:23 [85.7.133.198][-][-][error][yii\base\InvalidConfigException] yii\base\InvalidConfigException: Unsupported DB driver value: in /home/velolade/craft3/vendor/craftcms/cms/src/config/DbConfig.php:187

What's wrong here?
Thank you in advance for help!

**Tags:** craft3, database, updates

---

## 2 answers

### Answer by username_1 on 2018-05-30. Score: 1

The original poster solved this in a follow-up comment:

> After checking the log file - see my other question -, i activated the php functions "proc\_open" and "proc\_close" at my hoster's php settings and it worked. I'm not sure if i can leave these settings.

`proc_open` and `proc_close` are required if you want Craft 3 to automatically backup your database because it uses the native `mysqldump` and `pg_dump` binaries to perform the backup.

If, for whatever reason, you can't enable those methods, your options are to:

1. Set the [backupCommand](https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#property-backupcommand) config setting to `false`. This will prevent Craft from performing database backups and you'll be responsible for manually creating them.
2. Set the [backCommand](https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#property-backupcommand) config setting to some other script or service that can perform a backup without using those disabled methods. Craft will respect whatever is set in this config setting.

> **Comments:**
> **username_2**: Anyone actually do this yet (implement alternate way)? Would be amazing with a config flag to use a method not reliant on proc_open and so forth for us wrangling open_directory hosting...  

---

### Answer by username_3 on 2018-04-26. Score: 0

Is the DB\_DRIVER line set in your .env file? You may need to run the `./craft setup` script.

> **Comments:**
> **username_0**: Thanks! I checked my .env file: DB Driver ist set to: DB_DRIVER="mysql". I also realized that i couldn't backup my database. After checking the log file - see my other [question](https://craftcms.stackexchange.com/questions/25891/craft-3-database-backup) -, i activated the php functions "proc_open" and "proc_close" at my hoster's php settings and it worked. I'm not sure if i can leave these settings.  

---

