• Resolved DolphinGuy

    (@sanyadolpins)


    Ron,

    I’m back! I have installed SharDB and reinstalled it several times now just so I am familiar with all the correct procedures. It worked smoothly each time. I setup several new child sites in WP and checked that the tables were copied into each database – they were! (Perfectly!)

    Now, I’m on to my next step and truly objective, 4096 databases. I am reviewing the script that you have in the Installation Manual that shows how to create 4096 DB via my SSH terminal.

    I’m having problems. Can you answer a few questions about the script.

      Will this code create all 4096 DB simultaneously?
      Do I paste the code in all at once?
      Does it work on CentOS?
      What are the variables I need to set?

    So far I only get the following error.

    > done ;
    -bash: syntax error near unexpected token `done’

    https://www.ads-software.com/extend/plugins/shardb/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    Check the quotation marks in the script. Sometimes they get replaced with encoded characters. They need to be either single or doubles quotes per what you see visually.

    The \ at an end of a line is a signal to bash that you are going to continue the command on the next line. Even though the script has several ‘lines’ it’s actually a single command.

    Thread Starter DolphinGuy

    (@sanyadolpins)

    Ron,

    Yes! I got everything running and the script worked… All 4096 databases are up and running, looks to me as if all is working smoothly as I move on more critical steps in my multisite setup.

    Thanks Ron for your help. Sent you a LinkedIn request and hope you join me on there as well.

    Ticket resolved!

    Loui

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I create 4096 DB?’ is closed to new replies.