brew reinstall mysql
# To uninstall
brew uninstall [email protected]
rm -rf /usr/local/var/mysql
rm /usr/local/etc/my.cnf
# To Reinstall
brew install [email protected]
brew link --force [email protected]
brew services start [email protected]
brew reinstall mysql
# To uninstall
brew uninstall [email protected]
rm -rf /usr/local/var/mysql
rm /usr/local/etc/my.cnf
# To Reinstall
brew install [email protected]
brew link --force [email protected]
brew services start [email protected]
brew install mysql
brew install [email protected]
# 添加mysql到环境变量
echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
# 刷新
source ~/.zshrc
# 查看当前版本
mysql --version
# 没有提示你默认密码是多少 通过下面的命令直接修改密码
mysqladmin -u root password "你的密码"
# 然后重启mysql服务
mysql.server restart
12345678910111213141516
jquery get value of radio input
$('input[name="name_of_your_radiobutton"]:checked').val();
how to get the value of radio button in jquery
By LOVE
Here , name=Gender is the name attribute value of the radio button
$("input[name='Gender']:checked").val()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us