Hi, I am trying to connect to a samba server from my unix command line. I am using Ubuntu and I can access the server from the GUI, but I need to write a script to automate a backup. Does anyone know how to do a cd into a smb drive from the unix command line?
Thanks,
Eric (2 Replies)
Hello
i want to connect my solaris & Linux boxes to ntp server
i used the command
/usr/sbin/ntpdate -s -b -p 8 -u <NTP-IP>
and added the NTP server as server in /etc/ntp.conf
please help in completing the process and verifying it (1 Reply)
I need help writing java code that can connect to a remote unix server, and run a script on that server. I have scoured the internet, but I have been unable to find proper documentation on how this can be accomplished. Any help is appreciated thanks. (1 Reply)
Hi,
My knowledge bucket of UNIX is almost empty. I have developed an application in EXCEL which can create XML files (Metadata) from Binaries.
These binaries are stored in UNIX server on regular intervals. Currently I am transferring all binaries(GBs of files) to WINDOWS using WINSCP and... (2 Replies)
Hi Gurus,
I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Hi,
I need some help regarding oracle with unix script
Actually i have a shell script and i want that it gets triggered through a oracle Db.I dont have any idea how is it done, even whether it is possible....pls help.....!!!! (3 Replies)
Hi ,
I am trying to install mysql but getting below error
$# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
can anyone provide me this file 'mysql.sock'
Thanks (6 Replies)
Hi Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Hi guys,
I will really appreciate your help on this issue I am having.
I built a repository on one of my servers using a red hat dvd . It is working fine on that server.
When I create a repo file in a client server and try to connect to the server repository, I get this error
... (2 Replies)
I am trying to connect to a Windows server say 10.1.1.10. This servers has a folder named RAJ in which there are multiple .zip files. All these zip files contain a text file called XYZ.txt. Now i have to merge the content of these XYZ.txt files from each of the .zip file and create a new text... (1 Reply)
Discussion started by: swapniljadav
1 Replies
LEARN ABOUT DEBIAN
mysqlserverclone
MYSQLSERVERCLONE(1) MySQL Utilities MYSQLSERVERCLONE(1)NAME
mysqlserverclone - Start a new instance of an existing MySQL server
SYNOPSIS
mysqlserverclone [options]
DESCRIPTION
This utility permits an administrator to clone an existing MySQL server instance to start a new server instance on the same host. The
utility creates a new datadir (--new-data), and starts the server with a socket file. You can optionally add a password for the login user
account on the new instance.
OPTIONS
mysqlserverclone accepts the following command-line options:
--help Display a help message and exit.
--mysqld=<options>
Additional options for mysqld. To specify multiple options, separate them by spaces. Use appropriate quoting as necessary. For exam-
ple, to specify --log-bin=binlog and --general-log-file="my log file", use:
--mysqld="--log-bin=binlog --general-log-file='my log file'"
--new-data=<path_to_new_datadir>
The full path name of the location of the data directory for the new server instance. If the directory does not exist, the utility
will create it.
--new-id=<server_id>
The server_id value for the new server instance. The default is 2.
--new-port=<port>
The port number for the new server instance. The default is 3307.
--quiet, -q
Turn off all messages for quiet execution.
--root-password=<password>
The password for the root user of the new server instance.
--server=<source>
Connection information for the server to be cloned in <user>[:<passwd>]@<host>[:<port>][:<socket>] format.
--verbose, -v
Specify how much information to display. Use this option multiple times to increase the amount of information. For example, -v =
verbose, -vv = more verbose, -vvv = debug.
--version
Display version information and exit.
--write-command=<file_name>, -w<file_name>
Path name of file in which to write the command used to launch the new server instance.
EXAMPLES
The following command demonstrates how to create a new instance of a running server, set the root user password and enable binary logging:
$ mkdir /source/test123
$ mysqlserverclone --server=root:pass@localhost
--new-data=/Users/cbell/source/test123 --new-port=3310--root-password=pass --mysqld=--log-bin=mysql-bin
# Cloning the MySQL server running on localhost.
# Creating new data directory...
# Configuring new instance...
# Locating mysql tools...
# Setting up empty database and mysql tables...
# Starting new instance of the server...
# Testing connection to new instance...
# Success!
# Setting the root password...
# ...done.
COPYRIGHT
Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
AUTHOR
MySQL Utilities Team
COPYRIGHT
2010, Oracle and/or its affiliates. All rights reserved.
1.0.3 May 09, 2012 MYSQLSERVERCLONE(1)