Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5961883
make-blobs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
308 B
Referenced Files
None
Subscribers
None
make-blobs
View Options
#!/bin/bash
if
[
-z
$2
]
;
then
echo
'Usage: make-blobs <server> <db> [<table name>]'
exit
1
fi
if
[
-z
$3
]
;
then
table
=
blobs
else
table
=
$3
fi
echo
"CREATE DATABASE
$2
"
|
mysql
-u
wikiadmin
-p
`
wikiadmin_pass
`
-h
$1
&&
\
sed
"s/blobs\>/
$table
/"
blobs.sql
|
mysql
-u
wikiadmin
-p
`
wikiadmin_pass
`
-h
$1
$2
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Oct 3, 08:29 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
72/fb/1852a5d9b6d2c895731194e52325
Default Alt Text
make-blobs (308 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment