# mysqlhotcopy missing and dependencies

**URL:** <https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620>\
**Category:** SLES Configure-Administer\
**Created:** [May 14, 2012, 4:19pm UTC](https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620 "2012-05-14T16:19:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![J.M](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@J.M](https://forums.suse.com/u/J.M)\
**Post date:** [May 14, 2012, 4:19pm UTC](https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620/1 "2012-05-14T16:19:30Z")

</div>

Hi,

first I found that mysqlhotcopy was missing from the standard SLES11 SP1 mysql package.  
Then I installed the latest update of the package which included it again.  
But only to find out that a dependency to perl-DBD-mysql was missing for mysqlhotcopy to work.

Just thought I’d let you know. Not sure if a TID exists or some other support resource. At least I couldn’t find any.

Bye

Marki

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 14, 2012, 4:40pm UTC](https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620/2 "2012-05-14T16:40:15Z")

</div>

> [@jmroth](#):
>
> Hi,
> 
> first I found that mysqlhotcopy was missing from the standard SLES11  
> SP1 mysql package.  
> Then I installed the latest update of the package which included it  
> again.  
> But only to find out that a dependency to perl-DBD-mysql was missing  
> for mysqlhotcopy to work.
> 
> Just thought I’d let you know. Not sure if a TID exists or some other  
> support resource. At least I couldn’t find any.
> 
> Bye
> 
> Marki

Hi  
Thanks for the report, I will pass it on to my SUSE contacts.

Did it ask for perl-DBD-mysql when installing? I do note that it’s in  
the SLE11-SDK-SP1-Pool repository, which is not included by default. So  
I would assume (since this is an Add on product) not part of the  
requires.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.1 (x86\_64) Kernel 3.1.10-1.9-desktop  
up 2 days 17:56, 4 users, load average: 0.01, 0.03, 0.05  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![J.M](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@J.M](https://forums.suse.com/u/J.M)\
**Post date:** [May 14, 2012, 5:29pm UTC](https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620/3 "2012-05-14T17:29:51Z")

</div>

Nope didn’t ask for anything I can remember. What I did was an upgrade from mysql(-client) 5.0.67.  
Hmm. perl-DBD-mysql-… seems to be part of both SDK and normal pools?

```auto
# find . -iname 'perl-DBD-mysql*'
./SLE11-SDK-SP1-Pool/sle-11-x86_64/rpm/x86_64/perl-DBD-mysql-4.008-4.3.x86_64.rpm
./SLES11-SP1-Pool/sle-11-x86_64/rpm/x86_64/perl-DBD-mysql-4.008-4.3.x86_64.rpm
```

Anyhow, if the dependency was forgotten, I can understand that.  
They added mysqlhotcopy back in but forgot to look closer… unfortunately, it’s the only perl script in there:

```auto
# for i in $(rpm -ql mysql-client | grep /usr/bin); do file $i;done
/usr/bin/mysql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
/usr/bin/mysqladmin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
/usr/bin/mysqlcheck: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
/usr/bin/mysqldump: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
/usr/bin/mysqlhotcopy: a /usr/bin/perl script text
/usr/bin/mysqlimport: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
/usr/bin/mysqlshow: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
```

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [May 14, 2012, 6:17pm UTC](https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620/4 "2012-05-14T18:17:50Z")

</div>

On 14/05/2012 14:24, jmroth wrote:  
[color=blue]

> first I found that mysqlhotcopy was missing from the standard SLES11  
> SP1 mysql package.  
> Then I installed the latest update of the package which included it  
> again.  
> But only to find out that a dependency to perl-DBD-mysql was missing  
> for mysqlhotcopy to work.[/color]

You might want to look into using mysqldump instead.

## HTH.

Simon  
Novell/SUSE/NetIQ Knowledge Partner

* * *

## Do you work with Novell technologies at a university, college or school? If so, your campus could benefit from joining the Novell Technology Transfer Partner (TTP) program. See [novell.com/ttp](http://novell.com/ttp) for more details.

---

<div class="post-metadata">

**Author:** ![J.M](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@J.M](https://forums.suse.com/u/J.M)\
**Post date:** [May 15, 2012, 10:04am UTC](https://forums.suse.com/t/mysqlhotcopy-missing-and-dependencies/22620/5 "2012-05-15T10:04:35Z")

</div>

[QUOTE=smflood;4577]On 14/05/2012 14:24, jmroth wrote:  
You might want to look into using mysqldump instead.  
[/QUOTE]

I’m actually using both. (You never know…)
