• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Connection refused while using 12.x client

Sasyia

Member
Joined
Mar 9, 2020
Messages
42
Solutions
3
Reaction score
20
Hey, im trying to connect into my localhost server using 12.30 client, but occurs a error "connection refused". Client 10 works normally without any problems. Database runs inside docker container. TFS 1.3
Lua:
version: '3.1'

services:
  db:
    container_name: AntarionDB
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: zxc123
      MYSQL_DATABASE: Antarion
    ports:
      - 3306:3306

  phpmyadmin:
    container_name: phpMyAdmin
    image: phpmyadmin
    restart: always
    ports:
      - 8080:80
    environment:
      - PMA_ARBITRARY=1
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "Sasyia"
mysqlPass = "zxc123"
mysqlDatabase = "Antarion"
mysqlPort = 3306
mysqlSock = ""

Thanks for any help :)
 
Just guessing here, but you're using the root password as the set password in the docker-compose file. Shouldn't the default username for the container be 'root' therefore the mysqlUser aswell?
 
Back
Top