✅ new to MySql and trying to set up a basic database that will get connected to a .net projekt

ive set up my MySqlworkbench file and called it WordDatabase but cant seem to open a connection to the MySql server saying it cant connect dunno how to make it actually connect would gladly appreciate some guidance
No description
No description
28 Replies
daye
daye2d ago
Can you replace your connection string with: Server=localhost;Port=3306;Database=WordDatabase;Uid=root;Pwd=pass!; and try again?
Ꜳåąɐȁặⱥᴀᴬ
did you try opening that with tool like mysql workbench?
daye
daye2d ago
since you have a : instead of a ; in your connection string seperating the port and server
braindead pizzaslice
if i do that i just get this error instead
No description
Ꜳåąɐȁặⱥᴀᴬ
that user doesn't have permissions 🤔 are any others?
braindead pizzaslice
sry trying to figure out how to give privileges to root user GRANT all privileges ON object TO 'username'@'%' IDENTIFIED BY 'pass'; in MySql workbench
Ꜳåąɐȁặⱥᴀᴬ
if you are using workbench you can do it from the gui itself
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
braindead pizzaslice
odd my both my instuctors advised me to use MySQL workbench after trying to use the build in SQL tools in visual studios which was a mess so thats annoying
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
braindead pizzaslice
i will thank you root now has access to everything he already had all admin roles and now all schema privileges same error message
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
braindead pizzaslice
using System; using System.Data; using System.Data.SQLite; using MySql.Data.MySqlClient;
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
braindead pizzaslice
mySQL.Data by oracle, SQLite by SQlite dev team and System.Data.SQlite
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
braindead pizzaslice
idk sure
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2d ago
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
braindead pizzaslice
sry
braindead pizzaslice
BlazeBin - papenceebrbh
A tool for sharing your source code with the world!
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
braindead pizzaslice
not entirely sure what ur asking sry
braindead pizzaslice
if ur refering to my nuget packages
No description
Unknown User
Unknown User20h ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?