How do you solve #2002 Cannot log in to the mysql server?
How do you solve #2002 Cannot log in to the mysql server?
- net stop mysql.
- Erase binary logs (and the binary log index file)
- IF you do not know where they are, locate my.ini on your PC.
- Open my.ini in Notepad look for the option log-bin or log_bin.
- Look for the option datadir.
- If log-bin only has a filename, look inside the folder specified by datadir.
Where is config inc php?
/etc/phpmyadmin
The configuration files are located in the /etc/phpmyadmin directory. The main configuration file is /etc/phpmyadmin/config. inc. php, which contains the configuration options that apply globally to phpMyAdmin.
What is control user in phpMyAdmin?
User management is the process of controlling which users are allowed to connect to the MySQL server and what permissions they have on each database. Within phpMyAdmin, administrators have full control over creating users, viewing and editing privileges for existing users, and removing users.
How do I run phpmyadmin on Ubuntu?
Here’s what you need to do:
- Open a terminal window on your Ubuntu Server.
- Issue the command sudo apt-get install phpmyadmin php-mbstring php-gettext -y.
- When prompted, type your sudo password.
- Allow the installation to complete.
How do I know if phpmyadmin is installed Ubuntu?
- Get the name of the package with dpkg –list | grep phpmyadmin.
- For list of file installed use this dpkg –listfiles
How do I give phpMyAdmin permission to Ubuntu?
6 Answers
- You should check /etc/apache2 and find the below lines: AllowOverride None Require all granted
- the apache2 config should have this line: Include /etc/phpmyadmin/apache.conf.
How do I change the connection timeout in MySQL?
Change the MySQL timeout on a server
- Log in to your server by using Secure Shell® (SSH).
- Use the sudo command to edit my.
- Locate the timeout configuration and make the adjustments that fit your server.
- Save the changes and exit the editor.
https://www.youtube.com/watch?v=2-7WQHqiynA