dimanche 1 novembre 2015

XAMPP's MySQL on Ubuntu can't handle big amounts of data

I am developing an application in Laravel using XAMPP on Ubuntu (x64).

Whenever I am asking the database to retrieve a quite big amount of data it gives me the [2002] error ("Connection refused").

I've tested this by first doing this query:

$get_slugs = Enigmacode::where("id", "<", "250")->get(array('id'));
dd($get_slugs);

The query worked flawlessly. Then I did this:

$get_slugs = Enigmacode::where("id", "<", "2550")->get(array('id'));
dd($get_slugs);

I got "Connection refused".

Connection refused error

I know that I am asking for a lot of data but on Windows everything worked fine. XAMPP's MySQL on Windows (the same machine) had no problems with that.

Is there any reason why this is happening?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire