wiput1999

1

votes
2

answer
142

views

JXBrowser ClassNotFoundException

I've problem with JXBrowser license file. I've followed https://jxbrowser-support.teamdev.com/docs/quickstart/gradle-config.html official guide to use with Gradle and this is my current build.Gradle Build seem normal and no any error. plugins { id 'java' } sourceSets { main { java { srcDir 'src' } }...
wiput1999
5

votes
1

answer
389

views

Docker Compose with PHP, MySQL, nginx connection issue

I have problem to connect to MySQL container. docker-compose.yml version: '2' services: mysql: image: mysql:latest environment: MYSQL_ROOT_PASSWORD: JoeyW#1999 MYSQL_DATABASE: wiput MYSQL_USER: web MYSQL_PASSWORD: Web#1234 volumes: - ./mysql:/var/lib/mysql networks: - code-network php: image: wiput1...
wiput1999
3

votes
2

answer
7.2k

views

docker-stack.yml invalid volume type bind

This is my docker-stack.yml file version: '3' services: mysql: image: mysql:latest deploy: replicas: 1 update_config: parallelism: 1 restart_policy: condition: on-failure ports: - '3306:3306' environment: MYSQL_ROOT_PASSWORD: MYSQL_USER: MYSQL_PASSWORD: volumes: - ./db/data:/var/lib/mysql - ./db/...
wiput1999
1

votes
2

answer
257

views

PDO Error I don't know how to fix

I have this error Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' in /srv/users/wiput/apps/gallery/public/auth.php:56 Stack trace: #0 /srv/users/wiput/apps/gallery/public/auth.php(56): PDOStatement->execute() #1 {main} th...
wiput1999