Relative Content

Tag Archive for mysqllaravelapachexamppdatabase-management

Why can’t my laravel database be found now even if I had already used it a few days ago?

I’m new to using the laravel framework, and I’m struggling in starting my project due to several problems I’ve encountered while setting up. I’m currently using Linux as my command prompt and Xampp for database management. Apparently, I have two MySQLs, one downloaded together with XAMPP and, the other, downloaded on its own. This caused me a lot of confusion. (I’m not sure if the problem is related to that.) Along with the two MySQLs, I also have 2 APACHEs, one dowloaded with XAMPP and, the other, APACHE2. So every time I try serving my laravel project and running xampp, I have to stop both the stand alones apache2 and mysql. How should I go about it? After I had fixed the problem of my XAMPP apache and mysql server not running, this problem popped up. My laravel database won’t show up in my XAMPP and the project itself states that its supposed database is “unknown”, though I had already served the project a few days ago with no problem. I’m thinking it might be because the database was linked to the stand alone mysql (I’m not sure), but the port of my laravel project is already editted through its env file to match XAMPP’s mysql server. How do I fix this?