• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32/ESP8266 Publish Data to Raspberry Pi LAMP Server

Q&A Forum › Category: Raspberry Pi › ESP32/ESP8266 Publish Data to Raspberry Pi LAMP Server
0 Vote Up Vote Down
autosecu30 asked 6 years ago

Dear Sir,
I follow your instructions to install phpmyadmin and changed the password accordingly.
When i open in browser and key in user: root and password: mypassword
the below message appears that my password is wrong.
#1698 – Access denied for user ‘root’@’localhost’
what should i do now? your help is much appreciated.

4 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello, can you create a new user for your database instead of root? Like admin?

Here’s the updated guide: Raspberry Pi: Install Apache + MySQL + PHP (LAMP Server)
https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/

Run this command in your terminal window:

sudo mysql --user=root --password
create user admin@localhost identified by 'your_password';
grant all privileges on *.* to admin@localhost;
FLUSH PRIVILEGES;
exit;

Those commands will create a new user with name (admin) and password (your_password).
Let me know if this solves your problem! Regards,
Rui

0 Vote Up Vote Down
autosecu30 answered 6 years ago

Thank you, Mr Santos. Able to login using admin and mypassword.

How do I set up raspberrypi access using WiFi instead of Lan network? Thank you in advance for your advise.

0 Vote Up Vote Down
autosecu30 answered 6 years ago

I managed to setup wireless startup using raspi-config. Thank you.

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Exactly, that’s what I was going to suggest! Thanks for letting me know it worked.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.