General :: Location Of MySQL Log Files On Ubuntu
May 11, 2011I would like to delete the MySQL ib_logfile but do not know where the files are located on my machine. I am running the latest version of Ubuntu.
View 1 RepliesI would like to delete the MySQL ib_logfile but do not know where the files are located on my machine. I am running the latest version of Ubuntu.
View 1 RepliesWe are on a vps with godaddy and i was just curious that where are all the .MYI files saved
View 1 Replies View RelatedI'm trying to install vmware tools in mint.
All goes well until I get to this -
What is the location of the directory of C header files that match your running kernel? [usr/src/linux/include]
When installing the vmware tools it says to just hit enter and the default will be used.
Hitting enter just keeps giving me the error message- The path "usr/src/linux/include" is not an existing directory.
does any one have any idea how can I find the location of the files I listed using rpm -qa?
eg, 1 of the result returned from rpm -qa is yum-3.2.22-20.el5 how can I find the location of this program?
I'd like to move a selection of files from all the sub-directories within an overall directory to a single destination. I don't want any of the directory structure, just the files themselves. This is what I tried so far:
mv /dir1/*/igs*.sp3.Z /dir2
There are other .sp3.Z files in the * directories within /dir1 but I just need the ones that start with igs..
I want to move the location of MySql data file by setting datadir variable but I cannot find the variable in my.cnf file.
Should I set the variable in my.cnf, or is there any other configuration file beside this one?
I need help to write a script to commit files to SVN from a defined location to a SVN folder (ideally with new folder).
View 1 Replies View Related#the file temp contain a path to a directory int the first line
a= `head -1 temp`
bash: /home/ram/linuxTraining/scripting/testDir/test1Dir/test2Dir: is a directory
I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.
View 4 Replies View RelatedI was playing with the mysql my.cnf file yesterday, trying to move my database files to my dropbox folder so I can use the database on my other machine. All I changed was the datadir setting to point to my dropbox folder. I also moved my mysql data files there.
When I tried to restart mysql and test the new location it said my mysqld.sock was missing. I searched and searched the web and my filing system for it but I have no idea what's happened to it?? I have even tried changing the datadir path back and reinstalling mysql but that doesn't seem to work either.
I have managed to write a bash script that moves files to the recylce bin instead of being deleted. Then (with a bit of assistance) wrote another bash script that deletes the files from the recycle bin. Now I need to write one that will restore the files preferably to their original location? I am very new to linux and stuggling with where to even begin...any ideas? There seems to be some advice about creating a cloning tree, but I've never heard of them?
View 8 Replies View RelatedIs there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
I had a Windows XP Home box setup with MySQL, Apache, bind9, phpBB. Then one evening while preparing a Linux replacement my Windows XP Home tower died. It completely croaked. It won't boot up past POST at all. No beep codes or anything! It just sits there with the power on like a brick. I cannot boot it to grab the database through the webserver with any web based MySQL script system. I also do not have another Windows box that I can install MySQL on.
There is no possible way I have to retrieve any MySQL databases that I had on it except by mounting the hard drive where MySQL stored the databases for Windows on it. I've Googled for hours on end trying to find a solution but to no avail. I tried simply copying the contents of the database as-is from where it was on Windows to where it would be on Linux but when I try to browse the phpBB forums I get this error:
[Code]....
Some a$$ hack me MySQL and deleted all my databases, I have older copies on my system, but is there a way that Ubuntu server can recall or recover deleted MySQL database files ?
View 8 Replies View RelatedI am using ubuntu and mysql.I have a list of many .sql files, like 1.sql, 2.sql, 3.sql ... 100000.sqlI need to insert them into the database mysql mydb < *.sqlGives me: -bash: *.sql: ambiguous redirect
View 2 Replies View RelatedWhen I use ldd it prints the location of the depends.Is there a way to copy the depends listed to a location in a single command or streamline it? I don't want to copy each dependence once at a time.
View 1 Replies View RelatedHow can I set my log files to copy themselves to a different location every, say, two weeks? Thanks in advance.
View 1 Replies View RelatedI was reading [URL] which as the following in "Warning": Warning It is not a good idea to configure InnoDB to use data files or log files on NFS volumes. Otherwise, the files might be locked by other processes and become unavailable for use by MySQL. What does that mean, and how can one configure or check to ensure the above is being followed?
View 4 Replies View RelatedDoes anyone know where the Gedit configuration file/s are located?I knowthat the ~/.cache/ contains some information and deleting it removes the most recent documents list in the File menu.However, if I wanted to remove the most recent Find and Replace information which appears in the drop-down box when you choose Find or Replace, what file would I need to remove or edit.
View 4 Replies View Relatedsuppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt
How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt
Can 'cp' search for all file and copy them in another folder?
I am running VMware inside windows 7 64bit.I have installed ubuntu 2.8 ultimate edition on a 20gb partition and used 1gb of ram....everything is updated etc and running good. I checked in the VMware tools bar the entity tab,and says tools is not installed.
So when i run the install everything goes well untill it reaches the point where it says "What is the location of the directory of C header files that match your running kernel?
I have tried everything,different tutorials,installed a build package etc and it still asks for the directory. here is the uname r output :
uname r : 2.6.35-24-generic
I recently forced a reset on my applications menu, this system has been updated since at least Intrepid all the way through to Maverick and so I have decided to start having a bit of a clean up. Having deleted my ~/.config/menus directory and logged out/in, I noticed that I now have a menu for 'Other' within my applications menu, there must be around 200 entries in there, detailing every app I have ever installed through wine (whether they are still installed or not) along with a few others (VMWare player for one example).
Where are the files located that the computer probes to regenerate this menu? I'd like to clear the list as much as possible as the same list gets in the way when choosing what program a file should be opened with (it's far easier to choose from a list of currently installed apps than a list of 300 or so possibly installed apps).
me where I can find out about file locations in kde4?
View 1 Replies View RelatedI'm working on a little bash script for copying files from one location to another, while sending the verbose output of cp to a text file.
how can I append a time stamp to the verbose lines in the log file.
The command:
Code:
cp -fRcp dir1/* dir2/ >> log/$(date +%y-%m-%d)_log.txt
Again, I want to know how I make the time stamp appear in front of the line inside of the log.txt.
While setup of vmware on CentOS5.4 i am facing the below error.What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include]
View 5 Replies View RelatedHow do I create a new mysql user and a mysql database at the shell prompt?
View 1 Replies View RelatedMysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.
View 1 Replies View RelatedI am using Fedora 12 with VMWare Player 3. I want to install the vmware tools. To get them properly working i need the location of the kernel header files. In which directory are they usually stored?
View 2 Replies View RelatedI installed fedora 12 very recently after which I installed a few files. I don't know where these files get installed. Is there a default location for newly installed files?
If there is one, is it possible to change the location?