SQLSTATE[HY000] [1049] Unknown database ‘Laravel’ (1049)

In this tutorial I’m going to describe how to fix “unknown database in laravel Bug”

SQLSTATE[HY000] [1049] Unknown database ‘laravel’ (1049)

Unknown database:- SQLSTATE[HY000] [1049] Unknown database ‘laravel’ (1049)

Whenever you migrate in laravel and its showing unknown database name, please follow some easy steps its helpful for you.

php artisan migrate

When you stuck this kind of bug you have to go .env folder and check your database name and put same name as “edureka” in .env folder

then go to phpmyadmin and put database name “edureka” then run this command —

php artisan c:cache

php artiasn:migrate 
php artiasn:serve

Login successfully …

Tagged : / / /

Where to Use an HTML slide presentation in reveal JS?

Reveal.js is a framework for creating beautiful presentations using HTML. It has sleek features such as markdown content, nested slides, PDF exports, and JavaScript APIs to control slide navigation. Presentations are written using HTML using Reveal.js.

Setting Up reveal.js

Before using reveal.js, you should have both Node.js and Grunt installed on your machine. The next steps are to clone the reveal.js repository from GitHub, install all of the dependencies, and start the revealed server.

Creating a Presentation

A presentation reveals the HTML pages slide. Before the end of the body tag, we have a script that is key to the presentation configuration. There are several options that we can configure. For example, we can optionally show presentation progress, can enable the transition, and set a theme for our presentation. Once, we start adding slides in your presentation that we will dig deeper.


Now, we’ll start adding slides to your presentation letter. Using this HTML, add your first slide. Section represents elements slide. As an example illustrated by the nested classes, we can also nest within the other slides.

Save your file and restart the server using the command grunt serve. You should look at the slides went created our new. Note that the arrow can be controlled slides using keys. Although this functionality is enabled by default, you can configure the behavior by using the keyboard in the really Reveal.js initialize () method.


There are many themes available such as Beige, Solarized, and Sky which are located in CSS / Theme. To use them, you’ll just have to change the default style on your page, as shown in the following example.


The infection can be revealed of style and speed. Using the initial () transition and transition speed parameters. An example of this is shown below.

Markdown Slide Content

If you want to encourage you to write your slides using Markdown so fans Markdown. Just add a data-markdown attribute to your section tag, and wrap your content inside the tag as shown below.

Tagged : / / / /

How to create new microservices in Laravel framework

Step1- Open command prompt or Git Bash on xampp/htdocs directory

Step2- Create Laravel New Project write this command

composer create-project –prefer-dist laravel/laravel scmgalaxy “5.5.*”

Step3- Move to project directory on git bash

cd scmgalaxy

Step4- Project directory on git bash on this command

composer require laravel/passport

Step5- Create Database in Mysql Server

Step5- Set Mysql Server Username ,Password and Database Name in .env file


Step6-scmgalaxy\app\user.php add in user model this code

use Laravel\Passport\HasApiTokens; use HasApiTokens, Notifiable;

Step8- scmgalaxy\app\Providers\AppServiceProvider add in this code

use Laravel\Passport\Passport;

Step8- config\auth.php add in this code

‘api’ => [ ‘driver’ => ‘passport’, ‘provider’ => ‘users’, ],

Step9- scmgalaxy\app\Http\Kernel.php add this code

‘client_credentials’ => \Laravel\Passport\Http\Middleware\CheckClientCredentials::class,

Step9- scmgalaxy\config\app.php add this code


Step10- Project directory on git bash on this command

composer update

Step11- Project directory on git bash on this command

php artisan make:auth

Step12- Project directory on git bash on this command

php artisan migrate

Step13- Project directory on git bash on this command

php artisan passport:install