Tag : Connection



Multiple database connections in laravel 5 Application

you can set multiple database connections in same laravel application. Laravel provide configration file for setup multiple database connections. you can see config/database.php file and see mysql multiple database connections. you can add setting another mysql database detail like this way: <strong>config/database.php</strong> <pre class="prettyprint lang-php"> return [ <br/> 'fetch' => PDO::FETCH_CLASS, <br/> 'default' => env('DB_CONNECTION', 'mysql'), <br/> 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite', 'database' => database_path('data.....

By Hardik Savani | May 8, 2016 | | 9107 Viewer | Category : Laravel
READ MORE

Connection for controluser as defined in your configuration failed - Ubuntu phpmyadmin Resolve?

When i was working on my PHP project since last 1 year on my current system and phpmyadmin was working very well. but one day i was working on my prjects and electricity off suddenly and when electricity on, i start my system again and open localhost/phpmyadmin, then i found following error: <pre>Connection for controluser as defined in your configuration failed.</pre> I did try lot to solve. i also reboot my ubuntu 14.04 system again but i found still that issue. i was very disappointed from this issue. But when i open my PHP Laravel framework project i found bellow issue: <pre>can't connect.....

By Hardik Savani | April 8, 2016 | | 1544 Viewer | Category : Ubuntu
READ MORE

    PHP - Bootstrap autocomplete tokenfield with Ajax Example

    PHP - Bootstrap autocomplete tokenfield with Ajax Example

    Open Post

    Laravel 5 - line chart example code using google charts API

    Laravel 5 - line chart example code using google charts API

    Open Post

    Laravel 5.5 CRUD Example from scratch

    Laravel 5.5 CRUD Example from scratch

    Open Post

    How to get Instagram followers count using JQuery Ajax?

    How to get Instagram followers count using JQuery Ajax?

    Open Post

    Laravel 5 - generate PDF from html view file and download using dompdf

    Laravel 5 - generate PDF from html view file and download using dompdf

    Open Post

    Laravel 5.2 chat message module using socket.io, redis, express and nodejs from from scratch.

    Laravel 5.2 chat message module using socket.io, redis, express and nodejs from from scratch.

    Open Post