New answers tagged

0

Look at your php code at first include 'connection.php'; if($_SERVER['REQUEST_METHOD']=='POST'){ $name=$_POST['name']; $password=$_POST['password']; $query = mysqli_query($con,"SELECT * FROM `user` WHERE `name`='$name' && `password`='$password'"); $rows = mysqli_num_rows($query); if($rows==0){ echo "...


0

After my fresh installation of MySQL 8.0.24 on Ubuntu 20.10, I was unable to login with mysql -u root which results in Error 1698 (28000): Access denied for user 'root'@'localhost' However, I was able to login with sudo mysql -u root I guess this is because super user in linux is the root user.


Top 50 recent answers are included