Prisma deploy error: connect ECONNREFUSED 192.168.99.100:4466


#1

i am trying to prisma deploy , bt it gives me error from last few days ,
error is:

PS C:\Users\DHRUMIT\Desktop\mysql-node\helloworld> prisma deploy
Creating stage aadaa for service aadaa √
Deploying service `aadaa` to stage `aadaa` to server `default` !
 !    'ECONNREFUSED': request to http://192.168.99.100:4466/management failed, reason: connect ECONNREFUSED 192.168.99.100:4466

Get in touch if you need help: https://www.prisma.io/forum/
To get more detailed output, run $ export DEBUG="*"

it will create database name aadaa@aadaa bt nit created user table

my docker-compose file:

version: '3'
services:
  prisma:
    image: prismagraphql/prisma:1.28.3
    restart: always
    ports:
    - "4466:4466"
    environment:
      PRISMA_CONFIG: |
        port: 4466
        # uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
        managementApiSecret: thisismysupersecrettext
        databases:
          default:
            connector: mysql
            host: 192.168.56.1
            port: 3306
            user: root
            password: TfS5UnmQGrZDlTth
            migrations: true
  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: prisma
    volumes:
      - mysql:/var/lib/mysql
volumes:
  mysql:


prisma.yml file:

endpoint: http://192.168.99.100:4466/aadaa/aadaa
datamodel: datamodel.prisma
secret: thisismysupersecrettext

datamodel.prisma:

type User {
  id: UUID! @unique
  name: String!
}

please anyone knowing the solution ,
all answers are appreciated , please help me!!


#2

Looks like your Prisma instance is not running.

Please make sure my going to http://192.168.99.100:4466/management on your browser and see if it loads the playground.

Otherwise, make sure you have started your instance


#3

Thank you for reply,
i have run http://192.168.4466/managment and it will loads the playground!

but as far as i am started retrieving id from user it will showing me error!1

and in database it has created aadaa@aadaa DATABASE, but not created user table ,
it it showing me only one table that is _relayid


#4

Are you there?


#5

Playground is displaying server cannot be reached, please check once again


#6

Yup

so, what to do now??


#7

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.