Code Monkey home page Code Monkey logo

laravel6's Introduction

install on windows tutorial:

  1. open PowerShell as Administrator.

  2. run the following command to PowerShell
    Set-ExecutionPolicy RemoteSigned; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri "https://github.com/cretueusebiu/valet-windows/raw/master/bin/php73.ps1" -OutFile $env:temp\php73.ps1; .$env:temp\php73.ps1

  3. install composer https://getcomposer.org/download/

  4. composer global require consolidation/cgr

  5. cgr laravel/installer

  6. cgr cretueusebiu/valet-windows

  7. http://mayakron.altervista.org/wikibase/show.php?id=AcrylicWindows10Configuration
    7.1 remember to diable the internet onece, and then enable it.

  8. valet install

  9. create a folder to store the project repo, then type

    valet install

    valet park

    in PowerShell to install the package

  10. jump in the project repo:

    composer install

    php artisan key:generate

fix bugs: run the command in MySQL console.

  1. The server requested authentication method unknown to the client
    solution:
    alter user 'root'@'localhost' identified with mysql_native_password by 'lizuofu8426;'
  2. Access denied for user 'ODBC'@'localhost' (using password: NO)
    solution:
    mysql -u root -p
  3. sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables

https://stackoverflow.com/questions/18339513/access-denied-for-user-root-mysql-on-mac-os

  1. access denied: https://stackoverflow.com/questions/4359131/brew-install-mysql-on-macos

    4.1 remove MySQL by cleaning up everything.

    brew remove mysql  
    brew cleanup  
    launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist  
    rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist  
    sudo rm -rf /usr/local/var/mysql  
    

    4.2 start from scratch.

    brew install mysql  
    
    optional: [
    unset TMPDIR  
    mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp   
    ]
    
    mysql.server start   
    
    # the following 5.5.10 will be replaced with the version the user downloaded.
    # use tab could automatically pop up the version
    /usr/local/Cellar/mysql/5.5.10/bin/mysql_secure_installation
    
    # start  
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist  
    
    # stop  
    launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist  
    
    
    mysql -u root -p
    

laravel6's People

Contributors

ecckaka avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.