Tag:user

  • Error 1449 (HY000) occurs when MySQL uses show tables

    Time:2020-12-1

    1、 Problems arise After installing mysql, when using show tables, error 1449 (HY000): the user specified as a definer appears all the time(‘ mysql.infoschema ‘@’localhost’) does not exist 。 Specific to the Internet search, the answer is to use mysql_ Upgrade, in fact, MySQL_ The upgrade function has been disabled after mysql8.0. After multi-party search, […]

  • Seven editors for web developers

    Time:2020-12-1

    Editor’s note: the tool selected in this article comes from7 Awesome Markdown Editors for Web Developersand5 Cross-Platform Editors for Web Developers Recently, I saw two articles introducing several web development editors andMarkdownEditors, especially some new tools across platforms, are recommended(well, I admit it’s mainly recommended for Ubuntu / Linux users)。 Markdown editor The original collection […]

  • FTP sub permission management under Ubuntu

    Time:2020-12-1

    In the last section, we have learned how to set up FTP environment in Ubuntu. This section will introduce how to assign permissions to the same directory: 1. Super administrator (with the rights to upload, download, modify, and view); 2. Ordinary administrator (with the right to download and view only) Note: the FTP directory in […]

  • Breaking through the limitation of dockerhub, full image acceleration service

    Time:2020-12-1

    Recently, dockerhub has revised the pricing, which limits 200 pull / 6 hours for free accounts and 100 pull / 6 hours for anonymous accounts. In this article, I will introduce how to use cache to solve this problem. background Dockerhub is the earliest and largest container image warehouse in the world, hosting many docker […]

  • [operation tutorial] sequoiadb distributed storage tutorial

    Time:2020-11-30

    1. Introduction to applicable scenarios of each mode becauseSequoiaDBCompared with other NoSQL, there are more ways to distribute data to multiple servers, so the author will introduce to readers which scenarios each distributed mode is suitable for. 1.1 hash distribution dataIn the hash distribution mode, because the hash value of a field in the collection […]

  • Larravel authorization: using casbin (PHP rights management framework) in larravel

    Time:2020-11-30

    PHP-CasbinPHP is a lightweight framework for access control(https://github.com/php-casbin…), currently open source in GitHub. PHP caspin adopts the design idea of meta model and supports many classic access control schemes, such as RBAC and ABAC. Laraval-AuthorizationIt’s a customized one for laravelCasbinExpansion pack for(https://github.com/php-casbin… )。 install useComposerInstallation: composer require casbin/laravel-authz Lauthz\LauthzServiceProvideryesauto-discoveredAnd is registered by default, but if […]

  • Vue router configures the menu according to user rights

    Time:2020-11-30

    Business logic For example, there is a system with two roles, ordinary user and manager. Ordinary users can see module a after logging in, and managers can see module B after logging in. Technical implementation logic: after the user logs in, the background judges whether the user’s role is an ordinary user or a manager, […]

  • 05. EasyUI sends synchronization request to verify the user name is repeated

    Time:2020-11-30

    JS part /** *Verify user name */ $.extend($.fn.validatebox.defaults.rules, { userName : { validator : function(value, param) { // console.log (value); here is what the user enters in real time //Get the ID of the currently modified item, which is used to judge in the controller. If there is an ID, it is a modification; if […]

  • Redis-Bitmap

    Time:2020-11-30

    Basic concepts “A” ascll code is 97, binary is 0110 0001, each number “1”, “0” is calledBitEvery eight is called oneByte (byte), offset from left to right, from 1 to (binary total – 1) Bitmap is a series of continuous binary numbers (0 or 1). The position of each bit is offset. And, or, XOR […]

  • Mongodb index management of distributed document storage database

    Time:2020-11-29

    We talked about mongodb’s introduction, installation and crud operation of collection. Please refer tohttps://www.cnblogs.com/qiuhom-1874/p/13941797.htmlToday, let’s talk about the index of mongodb; 1. Why index? What does an index do? We know that mongodb is usually used in some web sites where the amount of data is very large; in the scenario of big data, whether […]

  • Beego reports an error register DB Ping ‘default1’, error 1049: unknown database ‘test_ beego’ must have one register DataBase alias named `default`

    Time:2020-11-29

    The following problems occurred after the project was transplanted to another computer, and the solutions: package models import ( “github.com/astaxie/beego/orm” _ “github.com/go-sql-driver/mysql” ) //User table type User struct { ID int UserName string Password string } func init() { orm.RegisterDataBase(“default”, “mysql”, “root:[email protected](127.0.0.1:3306)/test_beego?charset=utf8”) orm.RegisterModel(new(User)) orm.RunSyncdb(“default”, false, true) } The solution is that after changing 127.0.0.1 to […]

  • Recommend scrum books

    Time:2020-11-29

    Recommend scrum books The list of recommended books is as follows Scrum Guide Essence of Scrum Scrum agile software development Scrum shortcut Scrum and XP in smoke: how do we implement scrum Agile software development: scrum Practical Guide Scrum elements Large scale scrum: Design of large scale agile organization User story map User stories and […]