Mayur Sojitra Mayur Sojitra - 2 years ago 148
SQL Question

Connect Mysql server using laravel

I want to handle multiple VPS using SSH connection in laravel
I installed mysql successfully on 3 test VPS but now I want to create database in that servers so help me out

Thanks in advance

enter image description here

Answer Source
    SSH::run($command, function($line)
        echo $line.PHP_EOL;
catch(\RunTimeException $e)
    return view('dashboard.add_server');

I hope it will work for you

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download