diff options
author | Xanthem <2vendor@hisfootsteps.net> | 2021-08-17 07:15:53 -0700 |
---|---|---|
committer | Xanthem <2vendor@hisfootsteps.net> | 2021-08-17 07:15:53 -0700 |
commit | e6b64ec454869c5df26145271feead9a62b581cb (patch) | |
tree | d97bab8eff6455de3bce22da56b017eae6b4d4a2 | |
parent | 01aa8be7e734001a4954bbd149de49c4572e3b3d (diff) | |
download | server-e6b64ec454869c5df26145271feead9a62b581cb.tar.gz server-e6b64ec454869c5df26145271feead9a62b581cb.tar.bz2 server-e6b64ec454869c5df26145271feead9a62b581cb.tar.xz server-e6b64ec454869c5df26145271feead9a62b581cb.zip |
Set up Localhost
-rw-r--r-- | main.sql | 1 | ||||
-rwxr-xr-x | server.py | 2 | ||||
-rw-r--r-- | sql.py | 3 |
3 files changed, 3 insertions, 3 deletions
@@ -22,7 +22,6 @@ CREATE TABLE IF NOT EXISTS `login` ( `userid` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `userpw` VARCHAR(32) NOT NULL DEFAULT '', `email` VARCHAR(255) NOT NULL DEFAULT '', - --`guild_id` INT(11) UNSIGNED NOT NULL DEFAULT 0, `lastlogin` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`userid`), KEY `name` (`userid`) @@ -36,7 +36,7 @@ p=json.load(f) f.close() PORT=p["PORT"] -SECURE=p["SSL"] +SECURE=False#p["SSL"] ############################################################### # Main Class @@ -40,7 +40,8 @@ db = mysql.connector.connect( host=SQLHOST, user=SQLUSER, passwd=SQLPASS, - database=SQLDBID + database=SQLDBID, + auth_plugin='mysql_native_password' ) ####################################### Private methods |