Login form : username, pw , mysql database

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
tm6464
Posts: 48
Joined: 17 Jul 2017, 22:56

Login form : username, pw , mysql database

21 Jul 2017, 01:07

hi all

i search a Login form with username, pw that connect to mysql database and check if username, pw correct

i did the same in c# there its easy couse u find many bulletproof working codes but now i found out ahk can also login to mysql
so i wonder if anyone have aready done a Login form for ahk

thx all
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Login form : username, pw , mysql database

21 Jul 2017, 05:43

https://www.google.de/search?q=site%3Aa ... .com+mysql

Code: Select all

#SingleInstance, Force

Gui, Add, Text,	x10 	y10 	w70		h22				, Username:
Gui, Add, Edit,	xp60	yp		wp50	hp	vuser_name	, DonaldJT
Gui, Add, Text,	x10		yp24	wp		hp				, Password:
Gui, Add, Edit,	xp60	yp		wp		hp	vpassword	, fromRu$$i@withL0ve
Gui, Add, DDL,	xp		yp24	wp			vdb_name	, Database1|Database2|Database3||
Gui, Add, Button,							gLogin		, Login
Gui, Show, 						w220	h114			, mySQL - Login
Return

Login:
	Gui, Submit, Destroy
	MsgBox, % "mysql --user=" . user_name . " --password=" . password . " " . db_name ; replace 'MsgBox' with 'Run'
	Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, septrinus and 304 guests