luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
811 stars 205 forks source link

Error Exception 'yii\db\Exception' with message 'Error while sending QUERY packet. #1954

Closed symssyms closed 5 years ago

symssyms commented 5 years ago

What steps will reproduce the problem?

When execute command in console ./vendor/bin/luya admin/setup

What is the expected result?

create user admin

What do you get instead? (A Screenshot can help us a lot!)

image

LUYA Check ouput (run this script and post the result: luyacheck.php)

1: [in_array('mod_rewrite', apache_get_modules())] true 2: [ini_get('short_open_tag')] '1' 3: [ini_get('error_reporting')] '22527' 4: [phpversion()] '7.0.33-0+deb9u3' 5: [php_ini_loaded_file()] '/etc/php/7.0/apache2/php.ini' 6: [php_sapi_name()] 'apache2handler' 7: [isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : unknown] 'Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2s'

Additional infos

Q A
LUYA Version 1.0.21
PHP Version 7.0.33
Platform Apache+Nginx (VestaCP)
Operating system Debian 9.9
nadar commented 5 years ago

database setup/config?

symssyms commented 5 years ago

database setup/config?

my.cnf.txt

nadar commented 5 years ago

i just would say its not a problem with luya, its a problem with your sql instance. maybe check this article or google for the error message (https://stackoverflow.com/questions/30753674/error-while-sending-query-packet) error while sending query packet. Let me know if you find out the problem, maybe it will help someone else too. thanks

nadar commented 5 years ago

i will close the issue, if its luya related or the problem persists, let me know.