Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Help Installing Mysql

SamitMohnot
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?

2 years ago

Voters

Comments

TopNew
1

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

2 years ago
1
RayhanADev
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

2 years ago
1
RYANTADIPARTHI
RYANTADIPARTHI

Use this command

pip install mysql-connector-python

2 years ago
1
SamitMohnot
SamitMohnot

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

2 years ago
1
RYANTADIPARTHI
RYANTADIPARTHI

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

2 years ago
1
SamitMohnot
SamitMohnot

@RYANTADIPARTHI
It does nothing I don't know why

2 years ago
1
RayhanADev
RayhanADev

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

2 years ago
1
SamitMohnot
SamitMohnot

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

2 years ago
1
RayhanADev
RayhanADev

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

2 years ago
1
SamitMohnot
SamitMohnot

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

2 years ago
1
RYANTADIPARTHI
RYANTADIPARTHI

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

2 years ago
1
RayhanADev
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!

2 years ago
1
SamitMohnot
SamitMohnot

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

2 years ago
1
RayhanADev
RayhanADev

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

2 years ago
1
SamitMohnot
SamitMohnot

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

2 years ago
Load more