Videos on SQL and Programming and world facts, general knowledge, top 10 facts, XAMPP, MySQL, phpMyAdmin etc.
Subscribe my channel for more new content and for inspiring me to create more videos. Tell me your views in the comment section of my videos. You can also like and share my videos. If it helped you it can help your friends and family as well.
Thanks for visiting! ____________________________________________
Visit My Blog For New Posts - tyeduknowledge369.blogspot.com
madam, i have this error Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\Scanner\Scanner\php\conexion_be.php on line 3 Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\Scanner\Scanner\php\login_be.php:9 Stack trace: #0 C:\xampp\htdocs\Scanner\Scanner\php\login_be.php(9): mysqli_query(false, 'SELECT * FROM u...') #1 {main} thrown in C:\xampp\htdocs\Scanner\Scanner\php\login_be.php on line 9 login_be.php: <?php session_start(); include 'conexion_be.php'; // Check if the connection was successful if ($conn === false) { die('Error: Unable to connect. ' . mysqli_connect_error()); } $correo = $_POST['correo']; $contrasena = $_POST['contrasena']; $validar_login = mysqli_query($conn, "SELECT * FROM usuarios WHERE correo='$correo' and contrasena='$contrasena' " ); if(mysqli_num_rows($validar_login) > 0){ $_SESSION['usuario'] = $correo; header("location: ../scanner.php"); exit; }else{ echo ' <script> alert("Usuario no existe, por favor verifique los datos introducidos"); window.location = "../index.php" </script> '; exit; } ?> conexion_be.php: <?php $conn = mysqli_connect("localhost", "root", "", "login_db"); /*if($conn){ echo 'Conectado exitosamente a la base de datos'; }else{ 'No se ha podido conectar a la base de datos'; } */ ?> can you help me please? my Mysql port is 7785 and i've put the 3307 like in the video and still sends me an error
Most beautiful female Naruto characters 1. Hinata 2. Konan 3. Ino 4. Mei 5. Kushina 6. Tsunade 7. Temari 8. Ten Ten 9. Sakura 10. Kaguya 11. Yugito 12. Fuu 13. Rin 14. Himawari ( teen version ) 15. Sarada ( teen version )
Madam i got same error in django frame work Django. Db. Utils. OperationalError :(1045 :access denied for user pc @ localhost using (password :NO)) Pls tell me how to solve this error
Hi ! You can try this :- mysql -u root -p use mysql; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'newpassword'; FLUSH PRIVILEGES;