Package: wordpress
Version: 2.7-1
Severity: important
Tags: patch

setup-mysql fails with domain names containing hyphens
Original report:
http://bugs.launchpad.net/bugs/316392

"r...@hgf-desktop:~# bash /usr/share/doc/wordpress/examples/setup-mysql 
hgf-desktop
PING hgf-desktop (10.0.0.4) 56(84) bytes of data.
64 bytes from hgf-desktop (10.0.0.4): icmp_seq=1 ttl=64 time=0.046 ms

--- hgf-desktop ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.046/0.046/0.046/0.000 ms
Constructed database name and user: hgf-desktop from hgf-desktop
/etc/wordpress/config-hgf-desktop.php written
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the 
right syntax to use near '-desktop' at line 1
Trying to create upload directory: /var/www/wp-uploads/hgf-desktop
Goto http://hgf-desktop to setup Wordpress"

Patch available:
http://launchpadlibrarian.net/21128909/setup-mysql.diff
(by Sir George)

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to