I am trying to build my very first official website. I have a friend who is trying to be an actor/model, and he has an album he is trying to market. I can play the samples of the music on the webpage just fine, but how do I set up payment for his website? I want end-users to be able to pay with a debit/credit card directly on my clients website (without having to go to Paypal or leave the website.)
Also, the security required to maintain the database..... Does Laravel have sufficient security? I will be hosting the website with Amazon Web Service so I suppose I would trust their server security?
So i got upset i couldn't solve this and moved onto something else. I tried creating a new user for mysql and in the process found a command specifying grants and permission related to mysql. When i created the new user with these grants and permission it solved every issue and everything works as intended. But why was it wrong in the first place?
Could there possibly be version issues?
Kyles-MBP:blog kylejohnston$ php -v returns: PHP 7.2.8
Kyles-MBP:blog kylejohnston$ laravel -V returns: Laravel Installer 2.0.1
Kyles-MBP:blog kylejohnston$ valet -V returns : Laravel Valet 2.0.12
Kyles-MBP:blog kylejohnston$ composer -V returns: Composer version 1.6.5 2018-05-04 11:44:59
Kyles-MBP:blog kylejohnston$ brew -v returns: Homebrew 1.7.1
oh and i can't get mySQLWorkbench to connect to it, either....
Im trying to follow the laraval 5.4 from scratch video task by task. I am stuck on episode 4. I have Laravel, Valet, Composer, Php, mysql (on command line) and mySQLWorkbench. i use Atom as my IDE.
in ~/Desktop/Coding is where i saved all of my laravel/valet installations...my project is in ~/Desktop/coding/blog
in /blog i have edited the env file to show the following: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=blog10 DB_USERNAME=root DB_PASSWORD=
//DB_DATABASE is blog10 because i've tried this so many times, the most recent mysql //database that i've created and used is blog10.
//***IN MY TERMINAL
//this is the status of the mysql database in my terminal: mysql> status
mysql Ver 8.0.12 for osx10.13 on x86_64 (Homebrew)
Connection id: 18 Current database: blog10 Current user: [email protected] SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 8.0.12 Homebrew Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: utf8 Db characterset: utf8 Client characterset: utf8mb4 Conn. characterset: utf8mb4 UNIX socket: /tmp/mysql.sock Uptime: 8 hours 58 min 30 sec
//**ALSO IN TERMINAL IN ANOTHER PAGE Kyles-MBP:blog kylejohnston$ php artisan migrate //THIS COMMAND RETURNS ABSOLUTELY NOTHING //when i enter php artisan migrate, the command line has absolutely no response, i've even //left it running overnight. I cannot type anything else into the command line until i hit //control+c or start a new terminal window. If i misspell "migrate" the logs in my //logs/laravel.log will update and my terminal will prompt me with an error message
I want the migrate to automatically make the two default tables in my blog10 database =[
okay. the video mentioned homestead. I'm sure i'll check it out later. i know its a virtual machine. i don't know anything about virtual machines.
im asssuming... something like... brew services reinstall mysql57
when i type php artisan migrate, it doesn't do anything. My command line gets basically frozen. like if i type anything and hit enter its no longer processing anything. kind of like when you start php artisan serve. so nothing pops up in the laravel log file. if i mistype the word migrate, and the "did you mean migrate" box pops up, then that shows in the log file.
yes i can use php artisan serve and connect to localhost in browser to view the laravel welcome page. I can connect to the sql database through command line. Yeah theres a lot of stuff in the storage log file. looks like all of my random attempts at making it work.
Im trying to mimic the laraval 5.4 from scratch video. I have done everything step by step to this point. I have the latest version oh php, composer, laravel, brew, valet, and mysql. I have created a database called blog. i edited the information in my .env, username is root. password is blank. when i get on the command line and cd into my project folder, i run php artisan migrate and absolutely nothing happens at all. i get no response from the terminal even after long periods of time (30 minutes) and i cant type in that terminal window until i press control+c
i cannot get the database to connect to my app and sql.... the tables aren't being created when i run migrate...i've been trying to figure this out all day. this is my very first post ever asking for help.