MySQL database connection and user operations with C#.
If you install XAMPP software, it comes with Apache, MySQL and phpMyAdmin.
- Import
FULL_DB.sql
file located in theDATABASE
folder. - Put the files in the
PHP
folder to the directory where the local server is running. - Edit the
config.php
file according to you. - You can log into your local server and experiment.
- Copy the files in the
CSHARP
file to any location. - Open the
CSmysqlLogin.sln
file with Visual Studio. - Edit the
ConnectionString
variable in the Settings.cs file according to you.
public static readonly string ConnectionString = "server=localhost;user=root;database=mydatabase;port=3306;password=****";
If you change the database name or change the table name, you will need to make changes to all the codes in the project.
- You can start the project and try it out.
• The passwords in the database are stored with the SHA256 algorithm.
This page is not completely finished. Page update continues. KORAY ÜSTÜNDAĞ LICENSE