If you really dropped the database you have to recreate it before the first 
Puppet run:

05    mysql> create database puppet;
06      Query OK, 1 row affected (0.00 sec)
07       
08      mysql> grant all privileges on puppet.* to puppet@localhost identified 
by 'xxx';
09      Query OK, 0 rows affected (0.00 sec)

The initial table structure will then be done by Puppet.

Bernd

> -----Ursprüngliche Nachricht-----
> Von: puppet-users@googlegroups.com [mailto:puppet-
> us...@googlegroups.com] Im Auftrag von sysborg
> Gesendet: Donnerstag, 20. Oktober 2011 13:19
> An: Puppet Users
> Betreff: [Puppet Users] Restore Storconfig Data
> 
> Hi,
> 
>  I did a drop database puppet which is used for storing puppet
> storconfigs. Now I get the following error.
> ===============
> err: Could not retrieve catalog: TypeError: unknown buffer_type:
> 498322352: SELECT  `hosts`.* FROM `hosts`  WHERE `hosts`.`name` =
> 'testdb' LIMIT 1
> ===============
> 
>  Is there a way to repopulate the data.
> 
> I tried reinstalling, removing /var/lib/puppet. None worked.
> 
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to puppet-
> users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to