не могу подключить мою установку laravel к установке mysql очень сложно

У меня есть установка laravel без связи с моей установкой Mysql-MariaDB, соединение требует сокета для загрузки. Можете ли вы проверить эти журналы для подсказки? .. спасибо!

Иметь Ubuntu (uname -a):

`Linux canna-r430 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

`

Это мой mysqld -v

    canna@canna-r430:~/sitios/scmsistema$ mysqld -v
2018-09-07T05:17:48.142934Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2018-09-07T05:17:48.143089Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
2018-09-07T05:17:48.352518Z 0 [ERROR] --verbose is for use with --help; did you mean --log-error-verbosity?
2018-09-07T05:17:48.352552Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-09-07T05:17:48.352664Z 0 [Warning] Can't create test file /var/lib/mysql/canna-r430.lower-test
2018-09-07T05:17:48.352724Z 0 [Note] mysqld (mysqld 5.7.23) starting as process 5512 ...
2018-09-07T05:17:48.357511Z 0 [Warning] Can't create test file /var/lib/mysql/canna-r430.lower-test
2018-09-07T05:17:48.357559Z 0 [Warning] Can't create test file /var/lib/mysql/canna-r430.lower-test
2018-09-07T05:17:48.357914Z 0 [ERROR] Could not open file '/var/log/mysql/error.log' for error logging: Permission denied
2018-09-07T05:17:48.357970Z 0 [ERROR] Aborting

2018-09-07T05:17:48.358002Z 0 [Note] Binlog end
2018-09-07T05:17:48.358097Z 0 [Note] mysqld: Shutdown complete

и намерение войти в сервер MySQL

     sudo mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.23 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

0

Решение

Задача ещё не решена.

Другие решения

Других решений пока нет …

По вопросам рекламы [email protected]