Ask coding questions

← Back to all posts
Help Installing Mysql
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
SamitMohnot
Comments
hotnewtop
[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

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

RYANTADIPARTHI

Use this command

pip install mysql-connector-python

SamitMohnot

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

RYANTADIPARTHI

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

SamitMohnot

@RYANTADIPARTHI It does nothing I don't know why

RayhanADev

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

SamitMohnot

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

RayhanADev

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

SamitMohnot

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

RYANTADIPARTHI

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

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!

SamitMohnot

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

RayhanADev

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

SamitMohnot

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