add MySQL user without a user
Moderator: General Moderators
add MySQL user without a user
Ok, i got PHP, Apache, and MySQL to work, and I was playing with PHPMyAdmin, when i accidently deleted the only user in the MySQL database, how do i create a new user?
!untested!
in your mysql-data-directory there is a subdir mysql that holds the table information
maybe you can find a clean installation from where you can copy these files to your system.
Should be a similar mysql version and a backup of your mysql-dir is mandatory
in your mysql-data-directory there is a subdir mysql that holds the table information
- columns_priv
- db
- func
- host
- tables_priv
- user
maybe you can find a clean installation from where you can copy these files to your system.
Should be a similar mysql version and a backup of your mysql-dir is mandatory