{"id":26965789,"url":"https://github.com/jamesql/cplusplus-base-login","last_synced_at":"2026-05-03T16:31:41.939Z","repository":{"id":148888015,"uuid":"207890572","full_name":"jamesql/CPlusPlus-Base-Login","owner":"jamesql","description":"Basic Login Base w/ C++ \u0026 MySQL","archived":false,"fork":false,"pushed_at":"2019-09-14T21:44:55.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T07:39:36.604Z","etag":null,"topics":["cplusplus","encryption","gui","ide","mysql","qt","qt5-gui","sha256","sql"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-11T19:28:06.000Z","updated_at":"2021-03-24T01:34:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"895e1df5-452b-4867-8493-892fcf7933f4","html_url":"https://github.com/jamesql/CPlusPlus-Base-Login","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesql/CPlusPlus-Base-Login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesql%2FCPlusPlus-Base-Login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesql%2FCPlusPlus-Base-Login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesql%2FCPlusPlus-Base-Login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesql%2FCPlusPlus-Base-Login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesql","download_url":"https://codeload.github.com/jamesql/CPlusPlus-Base-Login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesql%2FCPlusPlus-Base-Login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cplusplus","encryption","gui","ide","mysql","qt","qt5-gui","sha256","sql"],"created_at":"2025-04-03T07:33:22.754Z","updated_at":"2026-05-03T16:31:41.933Z","avatar_url":"https://github.com/jamesql.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic Login Client in C++ w/ Qt 5\nBasic Login Base w/ C++ \u0026amp; MySQL\n\n# Where to get MySQL Connecter 8 for C++?\n- [Click Here!](https://dev.mysql.com/doc/connector-cpp/8.0/en/)\n\n# Connection String\n```cpp\n\"tcp://127.0.0.1:3306\", \"root\", \"Password\"\n```\n\n# Database File (MySQL)\n```sql\n-- --------------------------------------------------------\n-- Host:                         127.0.0.1\n-- Server version:               5.7.18-log - MySQL Community Server (GPL)\n-- Server OS:                    Win64\n-- HeidiSQL Version:             9.4.0.5125\n-- --------------------------------------------------------\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET NAMES utf8 */;\n/*!50503 SET NAMES utf8mb4 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n\n\n-- Dumping database structure for cpptest\nCREATE DATABASE IF NOT EXISTS `cpptest` /*!40100 DEFAULT CHARACTER SET utf8 */;\nUSE `cpptest`;\n\n-- Dumping structure for table cpptest.user\nCREATE TABLE IF NOT EXISTS `user` (\n  `id` int(11) NOT NULL AUTO_INCREMENT,\n  `un` varchar(50) NOT NULL DEFAULT '0',\n  `password` varchar(999) NOT NULL DEFAULT '0',\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;\n```\n\n\n# Convert glob -\u003e std::string function\n```cpp\nstd::string gulp(std::istream *in)\n{\n    std::string ret;\n    char buffer[4096];\n    while (in-\u003eread(buffer, sizeof(buffer)))\n        ret.append(buffer, sizeof(buffer));\n    ret.append(buffer, in-\u003egcount());\n    return ret;\n}\n```\n\n# Images\n![Basic GUI](https://image.prntscr.com/image/v7YUHXL-TJyehbc9QiZl_Q.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesql%2Fcplusplus-base-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesql%2Fcplusplus-base-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesql%2Fcplusplus-base-login/lists"}