Question: I am trying to delay the link attrib so that it is applied after the content has faded out. But adding a timeout function does not work. Any ideas?

```
$(function () {
    $(".layout a").click(function () {
        setTimeout(function () { $("link:first").attr("href", $(this).attr('rel')); }, 500)
    $.cookie("Layout", $(this).attr('name'), { expires: 365, path: '/media', secure: true });
    $('.content, .searchresults').fadeOut(500).delay(500).fadeIn(275);
        window.scrollTo(0, 0); // Scroll Window back to Top
        return false;
    });
});

```

Answer: 
I would edit the mydatabase.sql file in a text editor, dropping the lines that reference dropping tables or deleting rows, then manually import the file normally using the `mysql` command as normal.

```
mysql -u username -p databasename < mydatabase.sql

```

The [mysqlimport](http://dev.mysql.com/doc/refman/5.0/en/mysqlimport.html) command is designed for dumps created with the mysql command `SELECT INTO OUTFILE` rather than direct database dumps.
This sounds like it is much more complicated than you are describing.

If you do a backup the way you describe, it has all the records in your database. Then you say that you do not want to delete existing rows from your database and load from the backup? Why? The reason why the backup file (the output from mysqldump) has the drop and create table commands is to ensure that you don't wind up with two copies of your data.

The right answer is to load the mysqldump output file using the mysql client. If you don't want to do that, you'll have to explain why to get a better answer.