|
|
按照wiki上的安装wordpress,在configure mysql这一步失败
这是出错信息:·- hunk@localhost ~ $ sudo emerge --config =mysql-5.0.5*
复制代码- Configuring pkg...
- * Creating the mysql database and setting proper
- * permissions on it ...
- * Insert a password for the mysql 'root' user
- * Avoid ["'\_%] characters in the password
- >
- * Retype the password
- >
- *
- * ERROR: dev-db/mysql-5.0.56 failed.
- * Call stack:
- * ebuild.sh, line 49: Called pkg_config
- * environment, line 3307: Called mysql_pkg_config
- * environment, line 3014: Called die
- * The specific snippet of code:
- * die "Failed to run mysql_install_db. Please review /var/log/mysql/mysqld.err AND ${TMPDIR}/mysql_install_db.log";
- * The die message:
- * Failed to run mysql_install_db. Please review /var/log/mysql/mysqld.err AND /var/tmp/portage/dev-db/mysql-5.0.56/temp/mysql_install_db.log
- *
- * If you need support, post the topmost build error, and the call stack if relevant.
- * A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.56/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.56/temp/environment'.
- * This ebuild is from an overlay: '/var/db/pkg/'
- *
复制代码
但是可以运行mysql,就是不能登录·- hunk@localhost ~ $ mysql -u root -p
- Enter password:
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
复制代码
- hunk@localhost ~ $ emerge --info
- Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.6.1-r0, 2.6.24-gentoo-r2 i686)
- =================================================================
- System uname: 2.6.24-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
- Timestamp of tree: Wed, 19 Mar 2008 21:30:01 +0000
- ccache version 2.4 [disabled]
- app-shells/bash: 3.2_p17-r1
- dev-lang/python: 2.4.4-r9
- dev-python/pycrypto: 2.0.1-r6
- dev-util/ccache: 2.4-r7
- sys-apps/baselayout: 1.12.11.1
- sys-apps/sandbox: 1.2.18.1-r2
- sys-devel/autoconf: 2.13, 2.61-r1
- sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
- sys-devel/binutils: 2.18-r1
- sys-devel/gcc-config: 1.4.0-r4
- sys-devel/libtool: 1.5.26
- virtual/os-headers: 2.6.23-r3
- ACCEPT_KEYWORDS="x86"
- CBUILD="i686-pc-linux-gnu"
- CFLAGS="-O2 -march=i686 -pipe"
- CHOST="i686-pc-linux-gnu"
- CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
- CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
- CXXFLAGS="-O2 -march=i686 -pipe"
- DISTDIR="/usr/portage/distfiles"
- FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
- GENTOO_MIRRORS="http://61.135.158.199"
- LANG="en_US.UTF-8"
- LINGUAS="zh_CN"
- MAKEOPTS="-j3"
- PKGDIR="/usr/portage/packages"
- PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
- PORTAGE_TMPDIR="/var/tmp"
- PORTDIR="/usr/portage"
- PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china"
- SYNC="rsync://61.135.158.199/gentoo-portage"
- USE="X acl acpi alsa apache arts berkdb cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libwww mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
- Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
复制代码 |
|