How To Find Path To MySQL
Sep 1, 2007How to find path to MySQL ?
I need to know command for check path to MySQL.
How to find path to MySQL ?
I need to know command for check path to MySQL.
How can i find the full path of my shared account.
Example: /home2/user/public_html/
Just wanted to ask, which folder are the MySQL databases held in for Cpanel? Running CentOS 5 VPS.
View 7 Replies View Related31015 100 15 0 151m 35m 5156 S 28 0.4 379:34.10 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
This is my top process, I have quad core server and because of this server load is over 10
I am using cPanel, is it possible to trace which user is using all this cpu?
just noticed mysql cpu usage has shot up from its usual 5-10% cpu to 30%+. domains are as normal and no extraordinary php processes.
any way i can tell what users are most heavily running mysql? (as in number queries / slow queries etc?) i know mysqladmin processlist but that only gives me a snapshot, whereas i want to see over 24 hours, who used mysql the most...
My Server Is down nearly every day in the last three days
I think one of my clients is sending emails from his forum to his members.
How can I know who is he, And most important can I stop him from emailing his members?
Also,
How can I find out which account is making the biggest load on MySQL?
how can i do a search for all files (probs using regex) of files consisting purely of numbers?
for e.g. find:
53243.php
24353.php
24098.php
(always have 5 numbers).
seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.
SSH language, just know the commands that i use often.
my hoster, as he said did upgrade 2 days ago, [had an upgrade to apache 2], and some SSH command that i use before this, now don't work
for example, i had php script, which i run from ssh
[php go.php]
which don't work now ... got an error:
Code:
-bash: php: command not found
so my question is how to find php right path ?
Code:
$ whereis php
output:
Code:
Code:
php: /usr/src/php-5.2.0/php5.spec /usr/src/php-5.2.0/php.ini-dist /usr/src/php-5.2.0/php.ini-recommended /usr/src/php-5.2.0/php.gif /usr/local/bin/php /usr/local/lib/php.ini /usr/local/lib/php
as i understand, path is /usr/local/lib/php
after this try to type
Code:
/usr/local/lib/php go.php
output
Code:
/usr/local/lib/php: is a directory
btw
when i type
echo $PATH
get
Code:
/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/MYUSERNAME/bin
I'm trying to transfer a cms from 1 site to another and I don't know the full ftp path.. I'm looking for the "/public_html/username/blank/blank/sitefolder" or something similar.. How do I figure this out?
View 2 Replies View Relatedhow can i find out my site physical path
i tried following but blank page
[url]
I'm installing a script that's suppose to act as a payment gateway/store. The script requires the virtual path to the secured directory holding the products and everything I've tried doesn't work! It should be something like /home/username/public_html/secured where username is replaced with my username. I'm hosting with godaddy and have tried just about everything on this page: help.godaddyDOTCOM/article.php?article_id=1360 without any luck. Any ideas or experience with this? I'm on the economy plan with godaddy.
View 0 Replies View RelatedWhat would be the full path to the user's directory?
Cpanel's is:
/home/user/public_html
how to change DocumentRoot path?
like from this:
/public_html-maindomain)
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5
to this:
/public_html/maindomain
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5
How do I change the path of the Exim log directory? I am using Cpanel/WHM.
View 5 Replies View RelatedI am running Cpanel x 11.
Can I create a subdomain like:
mysub.mydomain.com and instead of its physical location being at:
'public_html/mysub'
Can I change/create its physical location at:
'public_html/inside_dir/yet_another_inside_dir/mysub'
Im having problems configuring my shopping cart.
Im hosting with www.valueweb.com
Does anybody know what is the path to curl?
I called them but they gave me 2 paths and none of them work.
build out a backup datacenter to mirror our facilities currently located in Manhattan.
Does anyone have any recommendations of a datacenter (preferably a carrier neutral facility) that is within walking distance to the NJ PATH station in New Jersey?
We are looking for between 2 and 3 racks with up to four 20 amp power cicuits.
I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something?
# Customize the path directory
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:
I am not sure if this is the right area to post this question but I am setting up an autoresponder on my website. To configure it to my site it the instructions say I need to
"# Type the full path to your EMail program.
# If you're not sure of this, ask your server administrator
$mailprog="/usr/sbin/sendmail";
# Type your email address. Make sure
# to place a in front of the @
# As an example: admin@autoresponderunlimited.com
$fromaddr="admin@autoresponderunlimited.com";"
Where would I be able to find this? I have the Linux Deluxe Hosting Plan from godaddy.com
Earlier I made a setup using UNC path in my Apache configuration. I managed to make this work. Now on another installation using Apache 2.2.22 nothing works like before.
This is how my configuration looks like ....
The "DNS Path Diagram" (lower part) does not show a graph when accessed via :
WHM=>Cluster/Remote Access =>Configure Cluster.
Any idea what can be causing this?
I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection.
So please guide me how can i change default page or change default path.
I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?
View 2 Replies View RelatedI have a question as to what the general upgrade path is these days regarding hosting, is it
shared -> vps -> dedicated
A second quesiton, DreamHost has a VPS package that you can set the memory and CPU usage, is this a gimick or do other companies do this as well?
I just installed a new server with CentOS.
Unlike my other installations, it appears that my installation doesn't show up my full working path
Other server shows
root@root [/home/user/public_html]#
My new server shows
root@new [public_html]# pwd
/home/user/public_html
How do I change this enviroment?
When I type crontab -e, it uses vi editor instead of nano/pico. How can I use nano or pico editor as default?
Anyone know the server path(s) for backups with whm/cpanel?
I'm talking about the backups that are kept for sites where they can be downloaded via web from cpanel. (daily, weekly, monthly)
What is the path for DNS zone files located in plesk system?
View 4 Replies View Relatedwhat is the physical path of yahoo hosting
i tried this
PHP Code:
<?echo $_SERVER['PATH_TRANSLATED'];?>
but bank page
Is there a way that I could redirect total urls? By that I mean when someone goes to www.domain.com/whatever/file.php?id=345 they get redirected to www.anotherdomain.com/whatever/file.php?id=345
Im running apache 1.3