Sql User Table Schema For Yii2 Starter Kit

Are you going to develop your web application in yii2 framwork, then this article will help you. The user table schema is not provided with yii2 starter kit by yii2 framework package. Below is proper user table schema.

How to create user table schema for yii2

1) Create database fro your yii2 application.
2) Open phpmyadmin in your browser like: http://localhost/phpmyadmin.
3) Select your database and click on SQL Tabs.
4) Copy below mysql query and paste into SQL editor.

yii2-user-table-schema

Insert below data in user table.

Now you can login in your application by using below username and password :
Username: admin
Password: 123qwe

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Solved Programs