Anyone else had this error when trying `prisma loc...
# prisma-whats-new
k
Anyone else had this error when trying
prisma local start
?
Copy code
Creating local_prisma-database_1 ... done
 ▸    (89d5fa22c740b0c42e5ebc2f57622256a14e35aabef3027b0b9a33b5d92a6508): Error starting userland proxy: Bind for 0.0.0.0:3306 failed: port is already allocated
I have tried all the fixes here: https://github.com/docker/for-mac/issues/205 I have tried resetting docker to factory defaults. I completely uninstalled docker, cleaned all the remaining data on the machine, installed it from scratch. I’m getting the error again. Halp 🙏
1
n
is any process using 3306 already?
lsof -i -P -n | grep 3306
k
nope
But for the life of me I cannot understand the fix.
n
They are saying that you get an error message, but it actually works
k
With
docker ps -a
I see 2 containers are running:
prisma-db
and
local_prisma-database_1
But when running
prisma deploy
I get the same port error.
Pressing “stop” on this kinda fixed it for me
n
interesting
so it does seem that a MySQL was running?
k
Yeah ¯\_(ツ)_/¯
n
https://github.com/graphcool/prisma/issues/1559 this should be handled with a better error message I suppose
k
yup
Is there something like
now
but deploying docker clusters? I went through the tutorial for deploying to DO in the docs but it doesn’t look promising because it has this inside of it “Note: For some reason this doesn’t work. Maybe @dom can take a look tomorrow. Whe deploying a service I get ‘Error: Authentication token is invalid: Token can’t be decoded: Illegal base64 character 5c:’”
n
hah! I'll remove that note and double check that this works now 🙂
👍 2
k
Also exploring the mysql database locally doesn’t work:
Copy code
docker exec -it prisma-db mysql -u root --host 127.0.0.1 --port 3306 --password=prisma
mysql: [Warning] Using a password on the command line interface can be insecure.
🤔
m
I just went through that tutorial and got the same error.
n
currently, the pw is still
graphcool
, will be updated soon: https://github.com/graphcool/prisma/pull/1653/files
k
@nilan cool, tnx!