Author : YarkinBey

I containerized my Laravel 8 project with laradock in my Ubuntu 20.04 virtual machine and configured the settings. This project that i’ve containerized was working fine in my Windows machine without being containerized. After containerized and tried to run this Controller method : public function paylasim_post(Request $request) { $post_baslik = $request->post_baslik; $posts = BlogPost::where(‘baslik’, $post_baslik)->get(); ..

Read more

I’ve set up a Laravel project with laradock and docker tried to run it and it gave me SQLSTATE[HY000] [2002] Connection refused error. Here is some of my config files; Laradock .env : https://pastebin.ubuntu.com/p/7r5BbvPQQk/ Laravel .env : https://pastebin.ubuntu.com/p/kK5mvTGTnT/ App.php : https://0bin.net/paste/fgkNY3Vq#KAx7DNYux3jaRVelaPac41AxA6blXjrL0hTXr7OaxKS I’ve looked at this post but didn’t helped me. I run Ubuntu 20.04 and ..

Read more