Web Hosting Forum | Lunarpages

Author Topic: How do I find my.cnf file?  (Read 11143 times)

Offline TerenceW

  • Trekkie
  • **
  • Posts: 12
How do I find my.cnf file?
« on: December 15, 2013, 03:45:19 PM »
Hi I don't have cPanel and therefore don't have access to SSH/Telnet. Is there a way to find 'my.cnf' file without using SSH/Telnet?

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6227
Re: How do I find my.cnf file?
« Reply #1 on: December 15, 2013, 06:24:27 PM »
Are you able to fire off a cron job? I know you can in cPanel; I would assume that LPCP can too.

Code: [Select]
find ~ -name "my.cnf" -print 2>/dev/null
should do the job, provided you have a my.cnf file on your site, and it's not in some system directory. Don't forget to delete the cron job after it has run once.

I don't know if you're going to be allowed to set up a my.cnf file, as the database server is shared in most cases. If it seems to have no effect (or even before trying it), you might want to ask support.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline dwaynnyt

  • Intergalactic Cowboy
  • *****
  • Posts: 64
Re: How do I find my.cnf file?
« Reply #2 on: January 04, 2014, 10:27:23 AM »
Thank you for that tip MrPhil. I'll try that later today but I'm pretty much sure that it will work. Cheers!
« Last Edit: January 04, 2014, 10:30:46 AM by dwaynnyt »

Offline BradleyLP

  • SysAdmin
  • Pong! (the videogame) Master
  • *****
  • Posts: 29
Re: How do I find my.cnf file?
« Reply #3 on: January 04, 2014, 03:36:58 PM »
Hi I don't have cPanel and therefore don't have access to SSH/Telnet. Is there a way to find 'my.cnf' file without using SSH/Telnet?

You must use the user root and SSH to access or modify the /etc/my.cnf file. Please call us at 1-877-586-2772 and we'ed be happy to make any modifications that you may require as long as you have a dedicated or cloud server with us. We are unable to change this for you on shared servers.


Thank you!

 

Share |