no funciona login a MySQL desde Laravel
Publicado por Fernando (1 intervención) el 03/07/2017 21:45:47
Hola, tengo un proyecto en laravel, ya lo he subido al hosting, y al querer hacer login me da error la base de datos, esto es lo que me pone
Pues, no sé a que se debe no entiendo que está mal. Alguna idea?
1
2
ErrorException in MySqlConnector.php line 57:
Wrong COM_STMT_PREPARE response size. Received 7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
in MySqlConnector.php line 57
at HandleExceptions->handleError('2', 'Wrong COM_STMT_PREPARE response size. Received 7', '/storage/ssd5/954/1860954/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php', '57', array('config' => array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'id1860954_estudio_juridico', 'username' => 'id1860954_usuario', 'password' => 'prueba', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), 'dsn' => 'mysql:host=localhost;dbname=id1860954_estudio_juridico', 'options' => array('0', '2', '0', false, false), 'connection' => object(PDO), 'collation' => 'utf8_unicode_ci', 'charset' => 'utf8', 'names' => 'set names 'utf8' collate 'utf8_unicode_ci''))
at PDO->prepare('set session sql_mode=''') in MySqlConnector.php line 57
at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'id1860954_estudio_juridico', 'username' => 'id1860954_usuario', 'password' => 'prueba', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in compiled.php line 11483
at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'id1860954_estudio_juridico', 'username' => 'id1860954_usuario', 'password' => 'prueba', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in compiled.php line 11479
at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'id1860954_estudio_juridico', 'username' => 'id1860954_usuario', 'password' => 'prueba', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), 'mysql') in compiled.php line 11394
at DatabaseManager->makeConnection('mysql') in compiled.php line 11349
at DatabaseManager->connection('mysql') in compiled.php line 11220
at Model::resolveConnection(null) in compiled.php line 11207
at Model->getConnection() in compiled.php line 10652
at Model->newBaseQueryBuilder() in compiled.php line 10629
at Model->newQueryWithoutScopes() in compiled.php line 10619
at Model->newQuery() in compiled.php line 959
at EloquentUserProvider->retrieveByCredentials(array('email' => 'admin@estudiojuridico.com', 'password' => 'admin')) in compiled.php line 560
at Guard->attempt(array('email' => 'admin@estudiojuridico.com', 'password' => 'admin'), false)
at call_user_func_array(array(object(Guard), 'attempt'), array(array('email' => 'admin@estudiojuridico.com', 'password' => 'admin'), false)) in compiled.php line 12115
at Manager->__call('attempt', array(array('email' => 'admin@estudiojuridico.com', 'password' => 'admin'), false)) in compiled.php line 6093
at Facade::__callStatic('attempt', array(array('email' => 'admin@estudiojuridico.com', 'password' => 'admin'), false)) in compiled.php line 2358
at AuthController->postLogin(object(Request))
at call_user_func_array(array(object(AuthController), 'postLogin'), array(object(Request))) in compiled.php line 8937
at Controller->callAction('postLogin', array(object(Request))) in compiled.php line 9006
at ControllerDispatcher->call(object(AuthController), object(Route), 'postLogin') in compiled.php line 8986
at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9657
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in RedirectIfAuthenticated.php line 41
at RedirectIfAuthenticated->handle(object(Request), object(Closure))
at call_user_func_array(array(object(RedirectIfAuthenticated), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9639
at Pipeline->then(object(Closure)) in compiled.php line 8987
at ControllerDispatcher->callWithinStack(object(AuthController), object(Route), object(Request), 'postLogin') in compiled.php line 8972
at ControllerDispatcher->dispatch(object(Route), object(Request), 'EstudioJuridico\Http\Controllers\Auth\AuthController', 'postLogin') in compiled.php line 7917
at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7888
at Route->run(object(Request)) in compiled.php line 7541
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9657
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9639
at Pipeline->then(object(Closure)) in compiled.php line 7542
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7530
at Router->dispatchToRoute(object(Request)) in compiled.php line 7515
at Router->dispatch(object(Request)) in compiled.php line 2310
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9657
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2925
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 13008
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11600
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12745
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12682
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2982
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9649
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9639
at Pipeline->then(object(Closure)) in compiled.php line 2257
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2240
at Kernel->handle(object(Request)) in index.php line 53
Pues, no sé a que se debe no entiendo que está mal. Alguna idea?
Valora esta pregunta
0