Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local.ERROR: PDOException: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '192.168.0.50' (13) in /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:119
- [mysqld]
- port = 3337
- #bind-address = 127.0.0.1
- datadir=/var/lib/mysql
- socket=/var/lib/mysql/mysql.sock
- # Disabling symbolic-links is recommended to prevent assorted security risks
- symbolic-links=0
- # Settings user and group are ignored when systemd is used.
- # If you need to run mysqld under a different user or group,
- # customize your systemd unit file for mariadb according to the
- # instructions in http://fedoraproject.org/wiki/Systemd
- [mysqld_safe]
- log-error=/var/log/mariadb/mariadb.log
- pid-file=/var/run/mariadb/mariadb.pid
- #
- # include all files from the config directory
- #
- !includedir /etc/my.cnf.d
- B_CONNECTION=mysql
- DB_HOST=192.168.0.50
- DB_PORT=3337
- DB_DATABASE=darwindeveloper
- DB_USERNAME=admindb
- DB_PASSWORD=admindb
- mysql -u admindb -h 192.168.0.20 -P 3337 -p
- Enter password:
- ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.20' (111)
- mysql -u admindb -h 192.168.0.20 -P 3337 -p
Add Comment
Please, Sign In to add comment