Server :: Retrieve MySQL Data From Command Line?

Aug 17, 2011

My computer has broken and I cannot login. I don't know what caused it.

I am using Fedora 14 and so it is easy to retrieve my files with the Fedora 14 installation disk under the 'restore' option. I cannot however, work out how to retrieve my MySQL data.

Would anyone be able to shed some light on this matter?

View 1 Replies


ADVERTISEMENT

Fedora :: Mysql Error When Type Mysql Into The Command Line?

Jan 16, 2011

I have mysql downloaded and when I type mysql into the command line I get this:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

View 6 Replies View Related

Software :: Create Mysql Database From Command Line?

Feb 13, 2010

I want to create database from script directly by taking inputs USER, PASSWORD and DBNAME.code...

How to resolve this or any alternate method (other than entering into mysql prompt like mysql -u USER -pPASSWORD)?

View 3 Replies View Related

General :: Inserting Multiple Files To Mysql On Command Line?

Mar 5, 2011

I 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 Related

General :: Data Recovery On HDD - Command Line Prompt

Feb 11, 2010

I installed Fedora 10 on a pc I built from a barebones package, I have had no problems over the past couple months until recently. When I start up the pc the OS lags on a black screen with the cursor blinking. I have searched forums but I guess since I am a newbie I am still lost in the translations. What I am trying to do is save my files that are on the pc to a DVD-RW or my external hard drive before I have to reinstall the software again.

My questions are as follows:
How can I locate the files on the hard drive? When I have the bootable cd-rom inserted I am unable to locate the HDD. How can I transfer my files using the command line prompt? Finally, is it possible just to upgrade to the latest Fedora without losing my files and going through the data recovery process head ache? Or can I reinstall the OS and not lose my files?

View 2 Replies View Related

Ubuntu :: Command Line Method Of Bypassing Data-DVD Encryption?

Apr 23, 2011

I'm trying to backup my old PC games so that I can finally banish their CDs to the attic once and for all. I've just been using the DD command to grab iso's of my games so far, while keeping their keys in a text file (see the DD command below). However, I just hit my C&C collection and I'm having some problems with some of the newer games like Renegade and Yuri's Revenge. I think they must be copy protected or something. 4 of my last discs have stopped copying at exactly 1.7MB (3 seperate DVD drives, 2 IDE, 1 USB enclosed). Can you guys think of anything else that will cause DD to fail at this location? Any ideas? I'd prefer it to be a command line option, as I'm trying to make things go as quickly as possible. Here's the command I've been using. code...

View 1 Replies View Related

Ubuntu Servers :: Connect Server To Windows And Retrieve Mysql From Windows?

May 13, 2011

i want connect ubuntu server to windows and retrive mysql from windows

View 8 Replies View Related

General :: Command Line To Prepend 8 Bytes Of Data To A Binary File?

Jan 14, 2011

i would like to add 8 bytes of data to the begigning of a binary file.is there a command for this?

View 2 Replies View Related

General :: Burn Data (file) With Command Line (at Terminal) To DVD Rewrite?

May 17, 2010

Now, I use Fedora Core (version 8) with core linux OS 2.6
I have some file data with size about 2G and I want to burn (write) this file to DVD rewrite.

I know linux OS can install software to burn data to DVD, but I don't have permission to install more software. I only use command line over Terminal (Gnome Terminal).

View 4 Replies View Related

Server :: Data Copy From Mysql To Samba?

Jul 18, 2011

how i can copy data from mysql server to local system or samba server. I want to know the command.

View 5 Replies View Related

Server :: Removing Old Table Data From MySQL?

Jul 6, 2009

When a user logs into my webmail application, it creates entries in a table on MySQL called "identities" which works great however once the user is deleted fro Linux with the "userdel -r" command, the data still sits in MySQL. My question is how I can I remove the table data from old users? It appears as show below:

[code].....

View 1 Replies View Related

Server :: Sync MySQL Database And HLDS Data On Lan?

Mar 4, 2010

I have try to sync my MySQL Server database and HLDS Data on lan,one is windows server 2008 and one is Ubuntu Linux 9.10 i have try to use the remote address(192.168.0.4:3306) but can't connect and say the error code is 10060 i have check the connect is normal and ok,the accont is can let any address to contro.

View 1 Replies View Related

Server :: MySQL Backup - Deal With Large Amounts Of Data?

Feb 15, 2011

we've been trying to become a bit more serious about backup. It seems the better way to do MySQL backup is to use the binlog. However, that binlog is huge! We seem to produce something like 10Gb per month. I'd like to copy the backup to somewhere off the server as I don't feel like there is much to be gained by just copying it to somewhere else on the server. I recently made a full backup which after compression amounted to 2.5Gb and took me 6.5 hours to copy to my own computer ... So that solution doesn't seem practical for the binlog backup.Should we rent another server somewhere? Is it possible to find a server like that really cheap? Or is there some other solution? What are other people's MySQL backup practices?

View 8 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Ubuntu :: Carry Out Mysql Commands Directly From The Ubuntu Command Line Interface?

Mar 10, 2011

Is it possible to carry out mysql commands directly from the ubuntu cli rather than open mysql?eg to create a database I would normally type

Code:
user@localhost:~$ mysql -u root -p
then INSIDE the mysql CLI I would type

[code]....

View 3 Replies View Related

Server :: MySQL Error 134 From Storage Engine Query: Select Data, Created, Headers?

Mar 1, 2011

I need help about the error in my website. I have the following error....

Code:
user warning: Got error 134 from storage engine query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:database1' in /var/www/html/web/includes/cache.inc on line 26.

View 2 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Server :: Unable To Copy Data To Remote Server Using Ncftp Command

Jul 16, 2011

I am unable to use ncftp command I have defined all variables used. i have to copy the data to another server FTPS. When i am executing this command it is throwing error

ncftp -u : option unknown

I am copying total script what i am executing in my server. Please some one tell me is there any pistake in using the ncftp command , or tell me some other commands to copy data to remote server

BAK="/opt/DBbackups"
NOW=$(date +"%d-%m-%Y")
FTPU="username"
FTPP="password"

[code]....

View 6 Replies View Related

Server :: Mysql Command To Allow A Remote Connection?

Jun 8, 2010

what is the correct command on a mysql command line to alllow mysql to alllow remote connection on a server

View 1 Replies View Related

Ubuntu Installation :: 9.10 Server - When Boot It Only Boots To The Server Version And All Get Is Command Line

Apr 1, 2010

I was having so much trouble with ubuntu 8.04 that I deleted off my computer and did a fresh install of 9.10. I downloaded the 64 bit iso from the internet, burned it to a disc and installed it. When it asked if it should be the server version I thought I said no. Now when I boot it only boots to the server version and all I get is command line. Can I get out of this and get my regular ubuntu screen back or did I install the wrong version?

View 6 Replies View Related

Ubuntu :: XP Crashed Out And Couldnt Retrieve My Data

Jul 29, 2010

I have a laptop that had Windows XP on it - XP crashed out and I couldnt retrieve my data of it, despite booting up in safe mode, it just didnt want to do anything. So i thought i will load ubuntu instead then try and recover my data - bad move. Now my question is, can I still retrieve the windows data of the hard drive despite having Ubuntu installed on the same drive? I know on windows there is an app called File Scavenger that recovers deleted files even after loading a clean slate of Windows on it. Is there something like that for Linux? I had photos on it that has some real sentimental value. The rest of the data I dont care about. Just the photos. I didnt think before I reloaded it.

View 7 Replies View Related

Ubuntu :: Retrieve Data Created On Another System?

Aug 23, 2010

My son's laptop with Ubuntu on went belly up, so before we dumped it I salvaged the hard disk.....now some weeks later he remembers there is some things he wants on the disk. Luckily I had done nothing with it ....have just connected the disk to my system I can see everything above(should that be below) home but not anything in his account. Any bright ideas for getting at his data is there a way of mass changing permissions or whatever?

View 3 Replies View Related

General :: How To Retrieve Lost Data On A Usb Stick

Jan 24, 2010

My wifes computer, IBM desktop, running XP, was hit by malware. I managed to save the data and tarred it and copied to a USB memory stick using my Linux box Ubu 9.1). I checked and saw it had been truly saved. Two days later I put stick in USB port and it was not recognized (usually any hot plugable device shows up immediately on desktop). I have tried plugging it into a windows machine and nothing was found. We are both very desperate at this apparent loss but because something similar happened with an Iomega zip disk.

View 14 Replies View Related

Server :: Working At The Command Line With Ubuntu Server Edition?

Jun 30, 2010

Whilst I have used GUI-based Linux distros for the last few years, I am now struggling somewhat when it comes to setting up a server from the command line. All the howto's I've read so far tell you how to set up certain things, but I don't know what I actually need to set up.Rather than asking the same questions all over again on a forum like this, and generally being a bit of a noob, I wonder if there's a resource somewhere that someone could direct me to in order to know what I need to do to set up a fileserver.

The hardware is all done, and I will probably set up a router distro like IpCop to manage the network, but I'm rather lost as to what packages I need, and how to know what the server is/isn't doing.I've used plenty of command lines in the past (ms dos, amiga dos, BASIC programming etc), just not a linux command line. All I've ever done is mount a few drives, use nmap and started x

View 1 Replies View Related

CentOS 5 Server :: Setting Up CUPS (command Line) On New Server?

Mar 29, 2009

I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:

a) do this

b) do that

View 4 Replies View Related

General :: Connecting To Remote Server Using Mysql Command

Jun 7, 2010

I am fresh out the box to linux I am using mysql for the 1st time also, my question is what is the correct command to run on a mysql command line to connect to remote server.

View 5 Replies View Related

Server :: What Is The Shell Command Which Allows To Know How Many Opened Sessions On A Mysql?

Jul 6, 2010

1-what is the shell command which allows me to know how many opened sessions on a mysql server?

2- what are the important points we can manage in a mysql server?

View 2 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

Ubuntu :: Using Perl Module To Retrieve Data From IPod

Apr 29, 2010

I am trying to make use of the perl module WWW::Nike::NikePlus to retrieve the data from my ipod but apparently I have no idea what I am doing. I installed the package just as the readme said including all the dependencies. I cant really figure out how to run it, i searched for how to use it and found this : Example use that retrieves and prints your last run information

use WWW::Nike::NikePlus;
my $username = 'my@email.address';
my $password = 'MySecretPassword';
my $locale = "en_us";
my $pin = nike_authenticate( $username, $password, $locale );
unless( $pin ) { print "Authentication failed
"; } .....

#Details of the last run
my ($unit, $last_run_dist, $last_run_duration_millisecs,
$last_run_duration_friendly, $last_run_pace_friendly) = nike_last_run();
print "Last run: $last_run_dist$unit in $last_run_duration_friendly
";
print "Last run pace: $last_run_pace_friendly per $unit
";

So I put it in a txt file and saved it with the extension .pl and of course I put in all my info in the username password fields then made it executable with the command sudo chmod +x nikeplus.pl and when I try to run it with either ./ or perl I get this output:

brandon@desktop:~/Apps/nikeplus$ ./nikeplus.pl
./nikeplus.pl: line 1: use: command not found
./nikeplus.pl: line 2: my: command not found
./nikeplus.pl: line 3: my: command not found
./nikeplus.pl: line 4: my: command not found
./nikeplus.pl: line 6: syntax error near unexpected token `('
./nikeplus.pl: line 6: ` my $pin = nike_authenticate( $username, $password, $locale );'
brandon@desktop:~/Apps/nikeplus$ perl nikeplus.pl
Use of uninitialized value $ENV{"TEMP"} in concatenation (.) or string at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 10.
Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 106.
Use of uninitialized value $last_run_dist in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
Illegal division by zero at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107.
brandon@desktop:~/Apps/nikeplus$

View 2 Replies View Related

Ubuntu :: Finding A Program To Store And Retrieve Data?

May 22, 2010

I am looking for a program to help me store, organise and retrieve information. The aim would be to keep notes from literature, concepts and ideas which i come across during my studies. It's always a hassle to retrieve this information when i have to write a paper for instance. So in fact what i need is a sort of wikipedia-like program where information is searchable and where perhaps hyperlinks could lead me from one word/note to another.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved