/CSmysqlLogin

MySQL database connection and user operations with C#.

Primary LanguagePHPMIT LicenseMIT

CSmysqlLogin

MySQL database connection and user operations with C#.

Requirements

If you install XAMPP software, it comes with Apache, MySQL and phpMyAdmin.

Installations :: PHP and MySQL Database

  1. Import FULL_DB.sql file located in the DATABASE folder.
  2. Put the files in the PHP folder to the directory where the local server is running.
  3. Edit the config.php file according to you.
  4. You can log into your local server and experiment.

Installations :: C#

  1. Copy the files in the CSHARP file to any location.
  2. Open the CSmysqlLogin.sln file with Visual Studio.
  3. Edit the ConnectionString variable in the Settings.cs file according to you.

Example:

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.

  1. You can start the project and try it out.

Security Notes

• The passwords in the database are stored with the SHA256 algorithm.

Developer Notes

This page is not completely finished. Page update continues. KORAY ÜSTÜNDAĞ LICENSE