728x90 반응형 분류 전체보기217 (Lavavel) 관리자 삭제하기 : Laravel 8.x 1. 관리자 삭제를 위한 저장 프로시저(deleteAdmin)을 만들어봅시다.$ mysql -u xyz -pxyz123 xyzmysql: [Warning] Using a password on the command line interface can be insecure.Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -AWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 271Server version: 8.0.26-0ubuntu0... 2021. 8. 29. (Lavavel) 관리자 수정하기 : Laravel 8.x 1. xyz/resources/views/mgmt/admin/update_form.blade.php 을 작성한다. × 관리자 수정 @csrf 아이디 userid }}"/> sno }}" /> 별명 (필수) nick }}"/> 2. xyz/app/Http/Controllers/Mgmt/Admin.php 에 다음을 추가한다.... // 관리자 수정 폼 // /mgnt/admin/update_form/{id} public function update_form ($id) { // $t_admin = DB::select('CALL getAdmin(?)', [$.. 2021. 8. 29. (Lavavel) 관리자 비밀번호 변경하기 : Laravel 8.x 1. 저장 프로시저 (getAdmin) 생성$ mysql -u xyz -pxyz123 xyzmysql: [Warning] Using a password on the command line interface can be insecure.Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -AWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 21Server version: 8.0.26-0ubuntu0.20.04.2 (Ubuntu)Copy.. 2021. 8. 28. (Lavavel) 관리자 추가하기 : Laravel 8.x 1. 저장 프로시저 (insertAdmin) 생성$ mysql -u xyz -pxyz123 xyzmysql: [Warning] Using a password on the command line interface can be insecure.Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -AWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 21Server version: 8.0.26-0ubuntu0.20.04.2 (Ubuntu)C.. 2021. 8. 24. (Lavavel) 관리자 목록 보여주기 : Laravel 8.x 1. 관련 모듈 설치$ sudo apt-get install php-mysql 2. DB연결 설정$ sudo vi ~/project/xyz/.env...DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306DB_DATABASE=xyzDB_USERNAME=xyzDB_PASSWORD=xyz123... 3. 저장 프로시저 (listAdmins) 생성$ mysql -u xyz -pxyz123 xyzmysql: [Warning] Using a password on the command line interface can be insecure.Reading table information for completion of table and column namesYou can turn o.. 2021. 8. 23. (Lavavel) 첫페이지 만들어보기 : Laravel 8.x 놀자코딩#Programming #Coding #Development #API #Server #python #golang #java #nodejs #javascript #프로그래밍 #코딩 #개발 #서버 #파이썬 #Go언어 #자바 #노드 #자바스크립트www.youtube.com 1. 프로젝트 디렉토리 구조xyz├── app│ ├── Console│ ├── Exceptions│ ├── Http│ │ ├── Controllers│ │ └── Middleware│ ├── Models│ └── Providers├── bootstrap├── config├── database│ ├── factories│ ├── migrations│ └── seeders├── public├──.. 2021. 8. 23. 이전 1 ··· 10 11 12 13 14 15 16 ··· 37 다음 728x90 반응형