Error: Migration engine exited.
See original GitHub issue<div type='discussions-op-text'>
Originally posted by Thebluedragon7 September 16, 2022 Local Node version: v16.17.0 Cpanel node version: v16.17.0 Prisma & prisma/client: v4.2.1
I’m using MySQL as my db for Prisma. I set the exact same user, password and database name on local SQL server and Cpanel’s SQL server
When I run migration in my local machine.
npx prisma migrate dev --name init
It works great. but I had no luck doing so in remote server.
I used SSH terminal to do so.
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "myDB" at "127.0.0.1:3306"
Error: Migration engine exited.
on my SSH Shell, I run
npx prisma -v
I get the following output
Environment variables loaded from .env
prisma : 4.3.1
@prisma/client : 4.3.1
Current platform : debian-openssl-1.1.x
Query Engine (Node-API) : libquery-engine c875e43600dfe042452e0b868f7a48b817b9640b (at ../nodevenv/dilmayatrek.com/16/lib/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node)
Migration Engine : migration-engine-cli c875e43600dfe042452e0b868f7a48b817b9640b (at ../nodevenv/dilmayatrek.com/16/lib/node_modules/@prisma/engines/migration-engine-debian-openssl-1.1.x)
Introspection Engine : introspection-core c875e43600dfe042452e0b868f7a48b817b9640b (at ../nodevenv/dilmayatrek.com/16/lib/node_modules/@prisma/engines/introspection-engine-debian-openssl-1.1.x)
Format Binary : prisma-fmt c875e43600dfe042452e0b868f7a48b817b9640b (at ../nodevenv/dilmayatrek.com/16/lib/node_modules/@prisma/engines/prisma-fmt-debian-openssl-1.1.x)
Format Wasm : @prisma/prisma-fmt-wasm 4.3.0-32.c875e43600dfe042452e0b868f7a48b817b9640b
Default Engines Hash : c875e43600dfe042452e0b868f7a48b817b9640b
Studio : 0.473.0
</div>Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Migration engine error · Issue #12570 · prisma/prisma - GitHub
Bug description An error is thrown while running migrations using npx prisma migrate dev How to reproduce Install the Prisma library and ...
Read more >Error message reference - Prisma
Prisma Client throws a PrismaClientRustPanicError exception if the underlying engine crashes and exits with a non-zero exit code. In this case, the Prisma ......
Read more >Migration Manager Exit Codes - Tranxition
Exit codes are used during Migration Manager automation to provide the technician performing the automation more information that can assist in resolving ...
Read more >Consequences of Different Error or Exit Codes (Sun N1 Grid ...
16. Releasing processor set. t. Job ran, processor set could not be released ; 24. Migrating (checkpointing jobs). t. Job ran, job will...
Read more >2 Server Error Message Reference - MySQL :: Developer Zone
Message: Got error %d - '%s' from storage engine. Check the %d value to see what the OS error means. ... Message: Can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, The Cpanel version was 106.0, running on Cloudlinux OS. I thought it was some sort of problem with the database there, but even when I tried sqlite as my datasource provider, it would still give me the same error.
It’s almost been a week, so I cancelled the cpanel hosting. I’m using a VPS and it works great with it.
Two other Cloudlinux related issues: https://github.com/prisma/prisma/issues/13977 + https://github.com/prisma/prisma/issues/14042