Comments (7)
I will add a validator library I found to the project for this issue. It will validate the form before submission and output any errors.
from booking-app.
hi can i use mysql, what i change in that? code..
from booking-app.
Specify your connection type in app/config/database.php, you should be able to use whatever you like (thats supported by Laravel) as I don't believe I use any functions specific to one database.
from booking-app.
dear you mean just change , you are using 'default' => 'sqllite', and i replace it, with this.
'default' => 'mysql',
that's it ?
booking name of Db, i make it, in the php myadmin
then i run these commands
php artisan migrate:rollback
php artisan migrate
regards
waiting , if you share email id , then i can share, img , i have alot of error.
from booking-app.
Yeah but below 'default' make sure your MySQL db has the correct credentials. I
tested this with MySQL so I know it works :)
from booking-app.
'default' => 'sqlite', replace with 'default' => 'mysql',
its not working with when i replace, dear i am student please tell me in detail m right now i change in daatabse.php file, and change in just line number 29 'default' => 'sqlite', i just created booking name of database in mysql . but still data is not show in the DB,
regards
from booking-app.
Right below that line, you need to actually define where your database is and give Laravel the right credentials, so you need to do something like this
'mysql' => array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'booking',
'username' => 'root',
'password' => 'password',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'port' => '8889',
),
You need to replace the host with wherever your database is, give it the correct username and password (user root, password password not recommended :P), and the correct port, then it wil work.
Good luck
from booking-app.
Related Issues (20)
- Migrate to Laravel 5
- seeding class not foud in laravel5 HOT 2
- Calendar dates are incorrect
- Admin part is messed up HOT 1
- Select Packages not working and Admin login not accessable HOT 2
- Setting Availability with Draggable Event HOT 1
- Allow User to view and set configuration variables HOT 2
- Upgrade to laravel 5.3 HOT 2
- login issue
- Is there a demo? HOT 3
- 500 error HOT 1
- Is it abandoned HOT 1
- Change from Date & Time to DateTime
- Scrub times before displaying
- Missing Public folder? HOT 2
- Send Emails on Confirmation
- Change appointments table to include end time
- Allow appointment times to blank out hours on the next day
- Admin panel for detailing dates available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from booking-app.