I run a localhost server for MySQL and PHP, in the phpMyAdmin I get the message on pink background:
"Your configuration file contains settings (root with no password) that correspond to the MySQL privileged default account.
Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a
password for user 'root'."
Can anybody please tell me about the risks?
Are there any?
Like what?
Best regards
By default say xampp use no password. Mamp uses password root by default. This wil do no harm if you only work locally. If you want to set a password anyway than look at the documentation depends on the software you are using.
Related
MySQL 8.0 Command Line Client crashes right after entering the correct password. I have also checked in services and there is no problem there. I'm using windows
This might be because MYSQL service is stopped.
Open search bar in windows and type services
Open the services application and find MYSQL application.
Click on start
Now open sql command line and try entering password
It is because MySQL Server stop, may be you run another application that use the same port. Try to run MySQL Installer Community, and you will find the program that you have to reconfigure (blue text). Try to configure MySQL Server ant click Test Connection.
It's hard to tell with no debug output or error codes, but disabling ssl might do the trick:
mysql --ssl-mode=DISABLED --host=$MYSQL_HOST --user=$MYSQL_USER ....
I had the same issue, was looking through Google to find an answer and came here. Are you sure, that you provided MySQL password? The root cause of my problem was the fact, that I put the MySQL user instead of MySQL password (the root one). Now everything is working fine.
That could mean that the password is failing. Check CapsLock key.
Go to Control Panel and uninstall MySQL Server only, you don't need to unstall the other MySQL files.
As mentioned here, make sure you can see hidden folders and then delete the following folders:
C:\Program Files\MySQL
C:\Program Files (x86)\MySQL
C:\ProgramData\MySQL
C:\Users<your-username>\AppData\Roaming\MySQL
Reinstall MySQL Server Package only
Select another password (looks like the current password is the problem)
Come here and vote me up :)
Do something nice for someone else ;)
I brought a virtual airline and for my security I would like to change the password on the myphpadmin and mySQL.
I am very new to this and I'm not sure where to find this and or do it.
any help is very welcome
Many Thanks
Your phpMyAdmin is protected by the MySQL authentication; so when you change your MySQL password it will also change for when you log in to phpMyAdmin. To do so, if you have the proper permissions, you'll see a link to "Change password" near the top of the "General settings" area of the main page. Note that in doing so, you will need to update the password in any other software that uses the same credentials, including phpMyAdmin only if you use the auth_type 'config'.
If you don't see the link, your user account doesn't have permission to change the password directly. Some web hosting providers do this (I'm not sure why) and in many of those cases, provide some external means to change your password (perhaps through their management interface). However, in those cases it depends specifically on your provider and you'd have to ask their support staff for further assistance.
I have MySQL installed locally on my Windows 7 Pro (64-bit) laptop.
I remember setting admin credentials but do not recall any details and was not able to locate my notes.
What can I do short of reinstalling the entire product?
I have found some links for restoring ROOT password but I'm not sure whether it's actually the same as admin password.
I'm not even sure what other information that I can provide could be helpful.
root is the MySQL system administrator.
Unless you've set up another user called admin, then you'll get what you want by resetting the root password. Else if you have another user called admin, after you reset your root password you can go about setting your admin password.
I broke the admin pass in the phpmyadmin inside plesk. I broke it by editing the pass (was not intentionally), and now Plesk does not load since primary admin pass is changed.
I found this guide: http://kb.parallels.com/en/112492 but it however does not allow me to change admin pass since I get this error:
Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: gc_remove_zval_from_buffer
Utility to set adminstrator's password
I cant seem to find the problem in regards to ioncube, except for that its not compatible with php, (yet ioncube dependent applications runs just fine on the server).
So what can I do to reset the admin password? I have root access, I should be able to do anything, right?
I tried the following
restarted plesk
check the permisssions on /etc/psa/.psa.shadow according to here: http://blog.serverbuddies.com/how-can-i-changerepair-my-admin-account-if-the-password-in-plesk/
mysql is running
I am stuck, hope someone knows how to solve this one.
If you know the password of MySQL user "admin" you can:
cp /etc/psa/.psa.shadow /etc/psa/.psa.shadow.bak # just backup
chmod 400 /etc/psa/.psa.shadow.bak # just secure backup
echo "PLACE PLAIN PASSWORD OF MySQL user ADMIN HERE" > /etc/psa/.psa.shadow
and check Panel.
If you don't know password of MySQL user "admin" "Resolution 2" from http://kb.parallels.com/en/112492 still should help you.
The root cause of issue "undefined symbol: gc_remove_zval_from_buffer" is maybe wrong version or corrupted ioncube_loader_lin_5.3.so. I can just switch off this extension in ini file somewhere in /etc/php/ or /etc/php.d/
I have MySQL installed on a Windows 2003 server on our domain. I cannot connect to it from other machines on the domain. I open up the MySQL Administrator panel and try to change the server name from localhost to the machine name it does not recognize it. I have tried fully qualifying the name also. Any ideas what I need to change?
What sort of error, a total inability to connect? Windows Firewall is the first place I'd look, to make sure port 3306 is open.
have you double checked permissions on the databases using something like
grant all priviliges on 'database'.'*' to 'username'#'remote_machine_ip' identified by 'password';
Like Sukasa mentioned, also double check any firewalls you may have configured
You need to look in the my.cnf file and look for the bind-address setting and the skip-networking setting. You want the latter removed or commented out and the former to be the machine's IP address. Restart MySQL after you make changes.
A number of MySQL install packages defaulted to a local socket only install, which is helpful for security but considerably impairs network connectivity. :-)
I was trying to connect to the database using the default root userid. I created a new user and gave this user read permission to the needed tables.