Horje
how create two database conction in laravel Code Example
how create two database conction in laravel
return array(

    'default' => 'mysql',

    'connections' => array(

        # Primary/Default database connection
        'mysql' => array(
            'driver'    => 'mysql',
            'host'      => '127.0.0.1',
            'database'  => 'database1',
            'username'  => 'root',
            'password'  => 'secret'
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
        ),

        # Secondary database connection
        'mysql2' => array(
            'driver'    => 'mysql',
            'host'      => '127.0.0.1',
            'database'  => 'database2',
            'username'  => 'root',
            'password'  => 'secret'
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
        ),
    ),
);


in migrations => 

Schema::connection('mysql2')->create('some_table', function($table)
{
    $table->increments('id'):
});




Csharp

Related
how to write text in specific position in c# Code Example how to write text in specific position in c# Code Example
signalr Code Example signalr Code Example
color' does not contain a definition for red' c# Code Example color' does not contain a definition for red' c# Code Example
link form to a button in dashbord visual c# Code Example link form to a button in dashbord visual c# Code Example
c# listview filter contains Code Example c# listview filter contains Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9