Talk:Database row format
Jump to navigation
Jump to search
The script will only work if the db is in localhost. We should add `KUSER="koha_$INSTANCE"; KPASS="$(sudo koha-passwd $INSTANCE)"; KDBNAME="koha_$INSTANCE"`, then on `KDBHOSTNAME` whatever is on `<hostname>` of `/etc/koha/sites/$INSTANCE/koha-conf.xml`. Finally, those access to the db `mysql -u$KUSER -p$KPASS -h$KDBHOSTNAME --batch ...`.