GBrowse2(1)

πŸ’– GBrowse2(1) β€” bestie edition πŸ’–

okay so this is a page from the GBrowse2 manual, and honestly? it's a little one but it's important, so sit with me for a sec 🫢


✨ NAME ✨

gbrowse_metadb_config β€” sets up a totally empty GBrowse user accounts and uploads metadata database. that's it, that's the job, and it does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

gbrowse_metadb_config [-dns password -admin user:pass]

so the flags are lowkey just two, but they matter, so let's break them down like a group chat receipt:

  • -dns password β€” give a custom DBI connection string, and it will override whatever is sitting in Gbrowse.conf.
bestie. listen. if there are semicolons in that string (and most MySQL connection DSNs are absolutely FULL of semicolons, no cap), you WILL have to escape it with quotes. this is not a suggestion, this is the law 😭
  • -admin user:pass β€” hand over an administrator username and password in the form user:pass, and it'll skip the prompts if the database doesn't exist yet. the format is literally user:pass, colon in the middle, no spaces. icon behavior ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

it initializes an empty GBrowse user accounts and uploads metadata database. empty. blank. a fresh start. main character energy for a database honestly 🌈

right now the supported databases are mysql and SQLite. those two. that's the guest list.

and here's the tea: when you're creating a mysql database, you must provide the -admin option to specify a user and password that has database create privileges on the server. must. required. non-negotiable. if that user can't create databases, this whole thing is not gonna eat, and we don't want that for you πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

  • Olivier Sallou (olivier.sallou (at) irisa.fr) β€” Man page and packaging πŸ’œ
  • Lincoln Stein β€” GBrowse ⭐

ngl, that's the whole page. short, sweet, and it gets straight to the point β€” which is honestly such a vibe πŸŽ€

and for the sign-off: this is version 1.1.0, dated February 07, 2011 β€” an absolute classic from the GBrowse2 era, and it still ate πŸ’…βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from