How do I access the mysql command line?
I have a virtual account on a server that uses cpanel and mysql
I can create the dbase in cpanel but the phpadmin has limitations and I want to access the command line.
Can anyone help?
Thanks
How do I access the mysql command line?
I have a virtual account on a server that uses cpanel and mysql
I can create the dbase in cpanel but the phpadmin has limitations and I want to access the command line.
Can anyone help?
Thanks
Use SSH to login, then type: mysql -p
Join other cpanel users on IRC.. #cpanel @ EFnet
That's for accessing as root, not as a user.
This is for a user
mysql -u user -pPASSWORD
Regards,
David
Forum Moderator
No. =) It works for both root and your normal clients. mysql automatically uses the username you used to login to SSH.![]()
Join other cpanel users on IRC.. #cpanel @ EFnet
Sounds easy enough, but where do I find this SSH?
Hi,
If your host has enabled it for you, you can connect using an SSH client like Putty.
http://www.chiark.greenend.org.uk/~s.../download.html
I actually already had putty, but wasn't sure if that was even the right thing to use.
Alright, it tells me I don't have shell access enabled. How might I get cPanel to enable that? Is that something I'd have to pay for or something?
You do that in WHM. If you're not the server administrator, you really ought to ask your hosting provider for this information and have them setup shell access for you.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com