Feb 11, 2020
11
Level 3
DB problem on host
It's work now thank you. But there's a DB problem when registering a new user or adding anything to DB https://k.top4top.io/p_1503m2sz41.png
This is .env
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=boryelpa_yasDB
DB_USERNAME=boryelpa_yasUSER
DB_PASSWORD=12332100mm
database.php
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'boryelpa_yasDB'),
'username' => env('DB_USERNAME', 'boryelpa_yasUSER'),
'password' => env('DB_PASSWORD', '12332100mm'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
database name in my host PHPMyAdmin https://g.top4top.io/p_150236a3n3.png
Level 102
Strange. Seems the remote host didnt work properly. You need to add that autoincrement (compare your screenshots)
Please or to participate in this conversation.