[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA

--- Comment #31 from Victor Grousset/tuxayo  ---
> * Test koha-create using command line parameter:

> vagrant@kohadevbox:~$ sudo $HOME/kohaclone/debian/scripts/koha-create 
> --dbport 12345 --create-db test
> Internal error processing command line arguments

Looking at code, --dbport is there. I don't know what is wrong. koha-create
Still works without --dbport so that confirm is linked to it.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #30 from Victor Grousset/tuxayo  ---
Sorry for the delay, I missed in the notification that it was me who asked for
the rebase.

First, here is a another needed rebase. I'll try to get my head around this
again.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Attachment #105899|0   |1
is obsolete||

--- Comment #29 from Victor Grousset/tuxayo  ---
Created attachment 113609
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113609&action=edit
Bug 23141: Add option to select db credentials source when populating db.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Attachment #105897|0   |1
is obsolete||

--- Comment #27 from Victor Grousset/tuxayo  ---
Created attachment 113607
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113607&action=edit
Bug 23141: Add --dbport parameter to koha-create

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Attachment #105898|0   |1
is obsolete||

--- Comment #28 from Victor Grousset/tuxayo  ---
Created attachment 113608
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113608&action=edit
Bug 23141: Parse mysql portnumber from /etc/mysql/koha-common.cnf

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Attachment #105896|0   |1
is obsolete||

--- Comment #26 from Victor Grousset/tuxayo  ---
Created attachment 113606
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113606&action=edit
Bug 23141: Add support for configuring database port in koha-dump, koha-mysql
and koha-mysqlcheck

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Attachment #105895|0   |1
is obsolete||

--- Comment #25 from Victor Grousset/tuxayo  ---
Created attachment 113605
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113605&action=edit
Bug 23141: Add port number to koha-dump script

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #24 from Jonathan Druart  
---
Patches rebased against master.

I noticed a change that should not be part of this patchset in my opinion:
--skip-triggers is added to the mysqldump call in koha-dump.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #23 from Jonathan Druart  
---
Created attachment 105899
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105899&action=edit
Bug 23141: Add option to select db credentials source when populating db.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #20 from Jonathan Druart  
---
Created attachment 105896
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105896&action=edit
Bug 23141: Add support for configuring database port in koha-dump, koha-mysql
and koha-mysqlcheck

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #21 from Jonathan Druart  
---
Created attachment 105897
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105897&action=edit
Bug 23141: Add --dbport parameter to koha-create

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #22 from Jonathan Druart  
---
Created attachment 105898
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105898&action=edit
Bug 23141: Parse mysql portnumber from /etc/mysql/koha-common.cnf

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Jonathan Druart  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-06-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Jonathan Druart  changed:

   What|Removed |Added

  Attachment #90687|0   |1
is obsolete||
  Attachment #90688|0   |1
is obsolete||
  Attachment #91291|0   |1
is obsolete||
  Attachment #91292|0   |1
is obsolete||
  Attachment #91408|0   |1
is obsolete||

--- Comment #19 from Jonathan Druart  
---
Created attachment 105895
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105895&action=edit
Bug 23141: Add port number to koha-dump script

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-05-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Victor Grousset/tuxayo  changed:

   What|Removed |Added

 Status|Needs Signoff   |Patch doesn't apply
 CC||vic...@tuxayo.net

--- Comment #18 from Victor Grousset/tuxayo  ---
Conflict in debian/scripts/koha-dump

# Dump database.
mysqlhost="$( xmlstarlet sel -t -v 'yazgfs/config/hostname' $kohaconfig )"
mysqldb="$( xmlstarlet sel -t -v 'yazgfs/config/database' $kohaconfig )"
mysqluser="$( xmlstarlet sel -t -v 'yazgfs/config/user' $kohaconfig )"
mysqlpass="$( xmlstarlet sel -t -v 'yazgfs/config/pass' $kohaconfig )"
backupdir="$( xmlstarlet sel -t -v 'yazgfs/config/backupdir' $kohaconfig ||
true )"
[ -z "$backupdir" ] && backupdir="/var/spool/koha/$name"
dbdump="$backupdir/$name-$date.sql.gz"
[ "$quiet" = "no" ] && echo "* DB to $dbdump"
<<< HEAD
dbflag="--databases"
[ "$without_db_name" = "yes" ] && dbflag=""
mysqldump $dbflag --host="$mysqlhost" \
||| constructed merge base
mysqldump --databases --host="$mysqlhost" \
===
mysqldump --databases --skip-triggers --host="$mysqlhost"
--port="$mysqlport" \
>>> Bug 23141: Add port number to koha-dump script
--user="$mysqluser" --password="$mysqlpass" "$mysqldb" |
gzip > "$dbdump"
chown "root:$name-koha" "$dbdump"
chmod g+r "$dbdump"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-04-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

--- Comment #17 from David Cook  ---
I was going to say that it assumes that Koha is connecting to MySQL using TCP
rather than a Unix socket, but after checking Koha::Database, it looks like we
mandate use of TCP anyway, so never mind me.

(That being said, should we support Unix socket connections for databases? I
suppose it would just add complexity to all the Koha management scripts at this
point. I imagine most production implementations have a separate database
server anyway. That said, I've pretty sure I've found with PostgreSQL at least
that a Unix socket is considerably faster than TCP over localhost. But that's
enough of a tangent for now...)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23141] The Debian scripts do not use the MySQL port number

2020-03-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

Andreas Roussos  changed:

   What|Removed |Added

 CC||a.rous...@dataly.gr
Summary|The Debian scripts do not   |The Debian scripts do not
   |use the myql portnumber |use the MySQL port number

--- Comment #16 from Andreas Roussos  ---
Fixed a small typo (myql -> MySQL) in the Bug Summary and split "portnumber" in
two words -- all in the name of making it easier to locate this bug in future
searches ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/