nguyenminh

MySQL root password change

Please follow the below steps. sudo service mysql stopsudo mysqld_safe –skip-grant-tablessudo service mysql startsudo mysql -u rootuse mysql;show tables;describe user;update user set authentication_string=password(‘1111′) where user=’root’;FLUSH PRIVILEGES;

đọc tiếp

session php 7

// $old_sessionid = session_id();//session_regenerate_id(); //$new_sessionid = session_id();////echo “Old Session: $old_sessionid“;//echo “Old PHPSESSID:”.$_REQUEST[“PHPSESSID”].’‘;//echo “New Session: $new_sessionid“;//echo “New PHPSESSID:”.$_REQUEST[“PHPSESSID”].’‘;

đọc tiếp