Install MariaDB(MySQL) on Chromebook Linux and operate from PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 87

  • @alatsary4232
    @alatsary4232 ปีที่แล้ว

    can you help me, in the 9:55 i cant save it, 'failed to save 'ports.conf': unable to find pkexec or kdesudo'

    • @norysoft
      @norysoft  ปีที่แล้ว

      Is your environment Linux on a Chromebook? If so, I recommend reinstalling Linux.

    • @alatsary4232
      @alatsary4232 ปีที่แล้ว

      @@norysoft does the all software like vscode, XAMPP ect will be deleted after reinstalling linux

    • @norysoft
      @norysoft  ปีที่แล้ว

      Yes of course. So can you use a text editor other than vscode? If you can use vi, try the following command.
      sudo vi

  • @cesarb.f.decarvalho1193
    @cesarb.f.decarvalho1193 ปีที่แล้ว

    I can't finish the tutorial, I'm stucked in the 14:47, i cant set the password...

    • @norysoft
      @norysoft  ปีที่แล้ว

      Is it "Enter ths new root password" at 14:58?
      It will create a new password so you can enter anything.
      Please let me know if you get an error message.

    • @cesarb.f.decarvalho1193
      @cesarb.f.decarvalho1193 ปีที่แล้ว

      @@norysoft I get this error: "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)"

    • @norysoft
      @norysoft  ปีที่แล้ว

      That error occurs when mariadb is stopped.
      Check mariadb status.
      sudo service mariadb status
      If it is stopped, please start it.
      sudo service mariadb start
      Please refer to the images below.
      drive.google.com/drive/folders/1RQBNkX-6pZ0-eAkvhrwRHgM8-oP8rskO?usp=share_link

    • @cesarb.f.decarvalho1193
      @cesarb.f.decarvalho1193 ปีที่แล้ว

      @@norysoft Ok, I'll try that, thanks

    • @cesarb.f.decarvalho1193
      @cesarb.f.decarvalho1193 ปีที่แล้ว

      @@norysoft It worked, thanks for the help and awesome video man

  • @sharminaktershifa4954
    @sharminaktershifa4954 ปีที่แล้ว +2

    I face some problems.😢
    MariaDB [(none)] create user testuser identified by '3k9b0r4b';
    Error 1369 (HY000); operation create user failed for 'testuser'@'%'

    • @norysoft
      @norysoft  ปีที่แล้ว

      For example, it is an error if the user already exists. See image below.
      drive.google.com/file/d/12b54g22qgJnGK26NJk83KJn63srcGe6u/view?usp=share_link

  • @yoelherrera5239
    @yoelherrera5239 9 หลายเดือนก่อน

    i stayed at minute 9:56 because vscode tells me permission denied, that i don't have that folder create

    • @norysoft
      @norysoft  9 หลายเดือนก่อน

      Did you press "Retry as Sudo"?

  • @josearthur1654
    @josearthur1654 9 หลายเดือนก่อน

    help me, I can't enter the password in the 17:34

    • @norysoft
      @norysoft  9 หลายเดือนก่อน

      Are you worried that the password you entered is not visible? It's okay, it's normal.

    • @josearthur1654
      @josearthur1654 9 หลายเดือนก่อน

      @@norysoft no, I can't put the password in my terminal

    • @norysoft
      @norysoft  9 หลายเดือนก่อน

      You can enter commands, right? Can't you just enter the password? That can't happen.

  • @manuelpacheco5446
    @manuelpacheco5446 ปีที่แล้ว

    I am sorry to say that I could not understand the video from 8:14. There is no way to understand how to proceed from here. By the way, I am not knew to programming so I know that the issue is not on my side. Manny from Puerto Rico

    • @norysoft
      @norysoft  ปีที่แล้ว

      I think all you have to do is follow the instructions in the video, but what are you having trouble with?

  • @bhumika5750
    @bhumika5750 2 ปีที่แล้ว

    At 15:00 , we are supposed to enter some password, right? but it is not accepting enter as a password.. umm..its like this:
    Change the root password? [Y/n]
    New password: #enter key
    Re-enter new password: #enter key
    Sorry, passwords do not match.
    New password: #tried to write something else but was unable to do so, not accepting anything
    Re-enter new password:
    Sorry, passwords do not match.
    please help me with this issue..

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Please enter a valid password, not the enter key.

  • @marthinusdroskie639
    @marthinusdroskie639 5 หลายเดือนก่อน

    at 10 minutes when saving I got the error polkit authentication agent found. What should I do?

    • @norysoft
      @norysoft  5 หลายเดือนก่อน

      What did you save when it happened?

    • @marthinusdroskie639
      @marthinusdroskie639 5 หลายเดือนก่อน

      ​@norysoft as you did, the code with the added Listen 8080

    • @norysoft
      @norysoft  5 หลายเดือนก่อน

      That can happen if you forget sudo.
      www.google.com/search?q=polkit+authentication+agent+found&gl=us&hl=en&sa=Search

  • @leonviajeromx
    @leonviajeromx 2 ปีที่แล้ว

    You are the best dude !!

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Thank you for your comment.
      Please comment if you have any other questions or requests.

  • @suparmanelmizan
    @suparmanelmizan ปีที่แล้ว

    great video, great channel. I'm also starting learn to code in chromebook. What do you prefer? install apache, php, mariadb or using docker? is there any tutorial for that? I've been watching the laravel version. is automatically install that stuff (apache, php, mariadb)?

    • @norysoft
      @norysoft  ปีที่แล้ว +1

      I recommend XAMPP.
      Install XAMPP on Chromebook Linux
      th-cam.com/video/VIWq17-0bAI/w-d-xo.html
      I also recommend Docker.
      Run Apache, PHP and MariaDB on Docker on Chromebook Linux
      th-cam.com/video/qjiiyiWH0fc/w-d-xo.html

  • @miguelangelmolina8213
    @miguelangelmolina8213 3 ปีที่แล้ว

    Thank you so much for this video!

    • @norysoft
      @norysoft  3 ปีที่แล้ว +1

      Also, if you have any request, please comment.

    • @rkiveadmirer8713
      @rkiveadmirer8713 ปีที่แล้ว

      @@norysoft can you tell me that this mysql server can work completely offline after installing and is it necessary to install vs code particularly installing mysql 🤔

    • @norysoft
      @norysoft  ปีที่แล้ว

      @@rkiveadmirer8713
      I don't understand what you are saying.
      What is vs code?
      You mean Visual Studio Code?

    • @rkiveadmirer8713
      @rkiveadmirer8713 ปีที่แล้ว

      @@norysoft yes its visual studio code

    • @norysoft
      @norysoft  ปีที่แล้ว

      @@rkiveadmirer8713
      What you want to know is the need to install vscode?
      No need to install vscode if you use vi or any other editor.

  • @Kobble8
    @Kobble8 ปีที่แล้ว

    For anyone struggling at the part where you put a password, press “n” and then enter to each of the statements before the password and after

    • @Kobble8
      @Kobble8 ปีที่แล้ว

      Also on the next part, when it doesn’t letter you type it again, type it together: mysql testdb-u testuser -p3k9b0r4b

  • @stace1967
    @stace1967 ปีที่แล้ว

    Hi, I received this message "Error 1064 (42000) : you have an error in your SQl syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use. Can you assist me?

    • @norysoft
      @norysoft  ปีที่แล้ว

      Please tell me your operation referring to the image below.
      drive.google.com/file/d/1sPQ6461jzpRJgd4dUHW6Ly0fh4KL6Tf1/view?usp=sharing

  • @UnnatiKalal-x1y
    @UnnatiKalal-x1y 2 หลายเดือนก่อน

    After, select * from table1 can we exit from terminal, or it is necessary to install python

    • @norysoft
      @norysoft  2 หลายเดือนก่อน

      Please do not make a new comment, but rather a continuation of the previous comment.

  • @mytesties865
    @mytesties865 ปีที่แล้ว

    thank you so much

    • @norysoft
      @norysoft  ปีที่แล้ว

      Thank you for your comment.
      Please comment if you have any other questions or requests.

  • @james.68
    @james.68 ปีที่แล้ว

    I get a http error 500 when i try to run localhost:8080/mariadb_select.php
    Any way to fix this?!?

    • @norysoft
      @norysoft  ปีที่แล้ว

      I think it's probably because of the password. Please refer to the images below.
      drive.google.com/drive/folders/1CrORa6D03jv5DFQHwR2ec7cuv2qHtACT

    • @james.68
      @james.68 ปีที่แล้ว

      @@norysoft I should get my password to hoge? Right now I have it set to some random numbers

    • @james.68
      @james.68 ปีที่แล้ว

      @@norysoft also how do I get that promo on my terminal to edit the password? Sorry for all the questions

    • @norysoft
      @norysoft  ปีที่แล้ว +1

      @@james.68 Please don't mind hoge.
      You have to enter the password for the testuser you created at 16:52. php file is edited with the following command.
      code /var/www/html/mariadb_select.php

    • @james.68
      @james.68 ปีที่แล้ว

      @@norysoft thank you so much arigato gozaimasu ;)
      i was about to give up on trying to code on my laptop because nothing was working

  • @B.O-mf2ow
    @B.O-mf2ow 11 หลายเดือนก่อน

    Error 1045 (28000) please what do i do

    • @norysoft
      @norysoft  11 หลายเดือนก่อน

      You need to tell me which operation caused that error.

  • @Zees-aesthetic
    @Zees-aesthetic 2 ปีที่แล้ว

    I'm stuck after installing the folders

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Are you stuck on "Set up MariaDB security settings" from 14:26?
      If you give me more information, I can help you.

  • @mauriciocastro7572
    @mauriciocastro7572 2 ปีที่แล้ว

    this is awesome!

    • @norysoft
      @norysoft  2 ปีที่แล้ว +1

      Thank you for your comment.
      Please comment if you have any other questions or requests.

  • @bubacartel
    @bubacartel 2 ปีที่แล้ว

    i tried to restart apache and it failed what do i do

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Please tell me the error message.

  • @mh_opm
    @mh_opm 2 ปีที่แล้ว

    Thank you this video helped me a lot but when I modify a php file the web site doesn't change, can you tell me please what bash command I have to do so that the modifications are made automatically please ?

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      I think what you want to do is:
      1. Create a php program to display Apple.
      2. Access the php program in your browser.
      3. Apple is displayed in the browser.
      4. Change Apple in the php program to Orange.
      5. Orange is displayed in the browser.
      Orange will not be displayed unless you refresh your browser.
      That's not possible with the bash command.
      You can do that with an Html meta refresh.
      The following php program will automatically update your browser every 5 seconds.
      ---

  • @miguelangelmolina8213
    @miguelangelmolina8213 2 ปีที่แล้ว

    Hello again! I wonder if you have a video showing how to install PostgreSQL on Chromebook. Please help me with this! Thank you in advance!

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Yeah, I think I can create it. Is the programming language to access it Python? Or PHP?

    • @miguelangelmolina8213
      @miguelangelmolina8213 2 ปีที่แล้ว

      @@norysoft The programming language is Python

  • @RohitKumar-yf3tg
    @RohitKumar-yf3tg 2 ปีที่แล้ว

    I did all the steps which was shown in the video
    But now tell me that how can i use mysql for another coding

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Thank you for comment.
      The sample programs mariadb_select.php and mariadb_modify.php will help you code your program. If not, please tell us exactly what you want to do.

  • @BarminOfficial
    @BarminOfficial 2 ปีที่แล้ว

    why i can't set password....(sorry you cant use empty password here)

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Are you having trouble setting a password?
      I think I can help you if you give me a little more detail. Please email me if you would like to send a screenshot. The email address is listed in the ABOUT Details of my channel.
      th-cam.com/channels/yRebLN4NwfQbncaRo8wrfg.htmlabout

  • @Gelowzz
    @Gelowzz ปีที่แล้ว

    dont you need to have a xampp application in your linux folders

    • @norysoft
      @norysoft  ปีที่แล้ว

      Please refer to the following videos regarding XAMPP.
      Install XAMPP on Chromebook Linux
      th-cam.com/video/VIWq17-0bAI/w-d-xo.html
      Install WordPress on XAMPP on Chromebook Linux
      th-cam.com/video/Ual5JM_vmMQ/w-d-xo.html
      Operate MariaDB from PHP with XAMPP on Chromebook Linux
      th-cam.com/video/TPhV_EySPpE/w-d-xo.html

    • @Gelowzz
      @Gelowzz ปีที่แล้ว

      @@norysoft nvm, i have already completed the two things, but didn't download the Wordpress
      Is it enough or should I tackle every last video of xampp related in your channel, cuz its working

    • @Gelowzz
      @Gelowzz ปีที่แล้ว

      continuing,
      Enter current password for root (enter for none):
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
      Enter current password for root (enter for none):
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
      Enter current password for root (enter for none):
      I'm now installing mysql_secure_installation and this problem occur

    • @norysoft
      @norysoft  ปีที่แล้ว

      Check the status of MariaDB referring to the image below.
      drive.google.com/file/d/1zU_9ahwV1HkNXVliefP0qYd0xlh_Vqkq/view?usp=sharing

  • @webershuvo1629
    @webershuvo1629 2 ปีที่แล้ว

    Driver no docker file show

    • @norysoft
      @norysoft  2 ปีที่แล้ว

      Is that a question for this tutorial?

  • @HibaRb-bp7si
    @HibaRb-bp7si 9 หลายเดือนก่อน

    i face some problems

    • @norysoft
      @norysoft  9 หลายเดือนก่อน

      If you would like help, you will need to provide detailed information about your situation.

  • @yogaadevi1470
    @yogaadevi1470 ปีที่แล้ว

    If can't save

    • @norysoft
      @norysoft  ปีที่แล้ว

      How many minutes and seconds in this video did the trouble occur?

  • @yogitabhavya2194
    @yogitabhavya2194 4 หลายเดือนก่อน

    is var/www/html i am getting is command not found.

    • @norysoft
      @norysoft  4 หลายเดือนก่อน

      A leading slash is missing.
      The path is /var/www/html, not var/www/html.

  • @deskzombii
    @deskzombii ปีที่แล้ว

    My terminal does not allow me to enter after the statement.
    Enter password:
    Please help me with this @Nory Soft

    • @norysoft
      @norysoft  ปีที่แล้ว

      How many minutes and seconds in this video did the trouble occur?

  • @niveditakarthik2545
    @niveditakarthik2545 9 หลายเดือนก่อน

    Hi, When I retry as Sudo like at 9.55 I get an error "Failed to save 'ports.conf': Unable to find pkexec or kdesudo." I am unable to proceed further. Please help!

    • @norysoft
      @norysoft  9 หลายเดือนก่อน

      The vscode specifications may have changed.
      I have created a workaround so please refer to it.
      Got an error when saving the file with vscode, so Tried saving it with nano.
      th-cam.com/video/67Kmx1rMPBc/w-d-xo.html

    • @niveditakarthik2545
      @niveditakarthik2545 9 หลายเดือนก่อน

      @@norysoft Hi, thank you so much for the swift response!Really appreciate the help...This worked up until the last checks..
      "localhost:8080/mariadb_select.php" this isnt working as of now so I am going to check a little later..

    • @niveditakarthik2545
      @niveditakarthik2545 9 หลายเดือนก่อน

      @@norysoft Thank you so for the swift response! Really appreciate the help! It worked well until the last point where we try to connect this:"localhost:8080/mariadb_select.php".

    • @atr7513
      @atr7513 5 หลายเดือนก่อน

      @@norysoft Thanks man, it worked. If possible pin this