Skip to content
Sign upLog in
← Back to Community

Help Installing Mysql

Profile icon
SamitMohnot

So I am trying to create a login page with replit and need to install MySQL so I can store the logins. Can you help me?

Voters
Profile icon
SamitMohnot
Comments
hotnewtop
Profile icon
[deleted]

First of all, I woud recommend Node js, its designed to do stuff like that! And here are some tutorials:
The tutorial that I used! Its great!
More stuff on mySQL and Node js

Profile icon
RayhanADev

Hiya
@SamitMohnot

I would like to help you with your question, but to do that I need to know what language your project is in. Let me know, cheers!
~ Ray <3

Profile icon
RYANTADIPARTHI

Use this command

pip install mysql-connector-python

Profile icon
SamitMohnot

@RYANTADIPARTHI
how do you use this??
and how do you start the MySQL shell

Profile icon
RYANTADIPARTHI

@SamitMohnot
. once you install it. In the console, just type in python main.py. But before this, make a file called main.py

Profile icon
SamitMohnot

@RYANTADIPARTHI
It does nothing I don't know why

Profile icon
RayhanADev

@RYANTADIPARTHI
but he’s not using Python, he’s using shell.

Profile icon
SamitMohnot

@RayhanADev
ya
I was confused when he told me to do that

Profile icon
RayhanADev

@SamitMohnot
he was trying to teach you the Python MySQL db, but I don’t believe you are using Python xD (are you?)

Profile icon
SamitMohnot

@RayhanADev
nope
I am trying to create a db for my logins for my website with MySQL and PHP

Profile icon
RYANTADIPARTHI

@SamitMohnot
. When you install it, and go into that file from the console. It should work.

Profile icon
RayhanADev

@SamitMohnot
okay then, here’s the w3school’s tutorial on it. It should give you the information you need, and if you need any help just ping me!

Profile icon
SamitMohnot

@RayhanADev
I am trying to install MySQL I have the code ready
All I need after is the IP address of my repl

Profile icon
RayhanADev

@SamitMohnot
I would suggest pinging the website for it, but you can check out this page for more methods!

Profile icon
SamitMohnot

@RayhanADev
how do you ping the website?
and also install MySQL I need it for my database