R u using core php?
Hello , Could you please tell me how to sent email in laraveL ?
Any one know a free online tool for Database diagrams?
any suggestion?


Yes
If you are using a laravel queue to send the email, you can check the failed_jobs table for the error. Else, the error should appear on the browser
yes thanks you , let me check first !

hi !! i have a issue trying to set a product and attach product id to user id and got error in method attach



I have two similar collections
Foreach($ts as $t, $by as $b)
I wish to loop over a table with condition if it belongs to collection $t highlight with green color and else the other collection highlight blue color
How can i achieve this kindly
And supports group access
Add in div



DB_HOST_001=127.0.0.1
DB_PORT_001=3307
DB_DATABASE_001=evbis_db_001
DB_USERNAME_001=root
DB_PASSWORD_001=
‘driver’ => ‘mysql’,
‘url’ => env(‘DATABASE_URL’),
‘host’ => env(‘DB_HOST_001’, ‘127.0.0.1’),
‘port’ => env(‘DB_PORT_001’, ‘3307’),
‘database’ => env(‘DB_DATABASE_001’, ‘forge’),
‘username’ => env(‘DB_USERNAME_001’, ‘forge’),
‘password’ => env(‘DB_PASSWORD_001’, ”),
‘unix_socket’ => env(‘DB_SOCKET_001’, ”),
‘charset’ => ‘utf8mb4’,
‘collation’ => ‘utf8mb4_unicode_ci’,
‘prefix’ => ‘evbis_’,
‘prefix_indexes’ => true,
‘strict’ => true,
‘engine’ => null,
‘options’ => extension_loaded(‘pdo_mysql’) ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env(‘MYSQL_ATTR_SSL_CA’),
]) : [],
],
add ->connection(‘DB_001’) to ur migration , like Schema::connection(‘DB_001’)->create(‘table_one’, function (Blueprint $table) {
{
Schema::connection(‘DB_001’)->create(‘users’, function (Blueprint $table) {
$table->id();
$table->string(‘name’);
$table->string(’email’)->unique();
$table->timestamp(’email_verified_at’)->nullable();
$table->string(‘password’);
$table->rememberToken();
$table->timestamps();
});
}
I tried the room is not working
InvalidArgumentException
Database connection [mysql] not configured.
DB_HOST_001=127.0.0.1
DB_PORT_001=3307
DB_DATABASE_001=evbis_db_001
DB_USERNAME_001=root
DB_PASSWORD_001=
Config cache
Then
Migrate
What message

DB_HOST_001=127.0.0.1
DB_PORT_001=3307
DB_DATABASE_001=evbis_db_001
DB_USERNAME_001=root
DB_PASSWORD_001=
Here you show connection MySQL but in the config you show connection db_001
DB_CONNECTION_001=DB_001
DB_HOST_001=127.0.0.1
DB_PORT_001=3307
DB_DATABASE_001=evbis_db_001
DB_USERNAME_001=root
DB_PASSWORD_001=
‘driver’ => ‘mysql’,
‘url’ => env(‘DATABASE_URL’),
‘host’ => env(‘DB_HOST_001’, ‘127.0.0.1’),
‘port’ => env(‘DB_PORT_001’, ‘3307’),
‘database’ => env(‘DB_DATABASE_001’, ‘forge’),
‘username’ => env(‘DB_USERNAME_001’, ‘forge’),
‘password’ => env(‘DB_PASSWORD_001’, ”),
‘unix_socket’ => env(‘DB_SOCKET_001’, ”),
‘charset’ => ‘utf8mb4’,
‘collation’ => ‘utf8mb4_unicode_ci’,
‘prefix’ => ‘evbis_’,
‘prefix_indexes’ => true,
‘strict’ => true,
‘engine’ => null,
‘options’ => extension_loaded(‘pdo_mysql’) ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env(‘MYSQL_ATTR_SSL_CA’),
]) : [],
],
At the start of here should be a key that hold the db connection to use
‘DB_001’ => [
‘driver’ => ‘mysql’,
‘url’ => env(‘DATABASE_URL’),
‘host’ => env(‘DB_HOST_001’, ‘127.0.0.1’),