Skip to content

Commit f10a9ea

Browse files
Update README.md
1 parent d4afec5 commit f10a9ea

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,28 @@ docker exec -it 8294e1800058 /bin/sh
7676
--WIP---
7777

7878
## Issues and Resolutions
79+
80+
**Issue:** While importing or creating the database, you may face this error `ERROR 1044 (42000): Access denied for user 'drupal'@'%'`
81+
82+
**Resolution:** You should connect with admin credentials. In our case, the user name is root and the password is admin.
83+
84+
**Issue:** `ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/ru`
85+
86+
**Resolution:** Make sure correct host name is there. In our case, it's mysql.
87+
88+
```
89+
$databases['default']['default'] = array (
90+
'database' => 'drupal',
91+
'username' => 'drupal',
92+
'password' => 'drupal123',
93+
'prefix' => '',
94+
'host' => 'mysql',
95+
'port' => '3306',
96+
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
97+
'driver' => 'mysql',
98+
);
99+
```
100+
79101
--WIP---
80102

81103
## Directory Structure

0 commit comments

Comments
 (0)