# Terminal Commands not working

**URL:** <https://forum.shopware.com/t/terminal-commands-not-working/65935>\
**Category:** General Questions (EN)\
**Created:** [1. April 2020 um 13:43 UTC](https://forum.shopware.com/t/terminal-commands-not-working/65935 "2020-04-01T13:43:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [1. April 2020 um 13:43 UTC](https://forum.shopware.com/t/terminal-commands-not-working/65935/1 "2020-04-01T13:43:59Z")

</div>

&nbsp; An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory- error is shown when I execute commands in terminal

Can this be because of MariaDB Version, or PHP Version?

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/aa3acdc4f554f989cd4e13de05634b731fe28c2a.png)

---

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [5. April 2020 um 07:28 UTC](https://forum.shopware.com/t/terminal-commands-not-working/65935/2 "2020-04-05T07:28:28Z")

</div>

I got a solution to this problem. This is a permission issue. Would have been great if&nbsp;Shopware displayed the correct error.

---

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [22. April 2020 um 07:39 UTC](https://forum.shopware.com/t/terminal-commands-not-working/65935/3 "2020-04-22T07:39:43Z")

</div>

We asked our server provider and they granted all the permissions for the user, also all MYSQL permissions should be granted.

You should also check the php version to satisfy the shopware reqirements for the ssh.
