Changeset ac109439
- Timestamp:
- 11/19/2004 05:57:16 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- d0abeb0
- Parents:
- c69b94a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/databases/mysql.xml
rc69b94a3 rac109439 72 72 --enable-thread-safe-client --enable-assembler \ 73 73 --enable-local-infile --with-named-thread-libs=-lpthread \ 74 --with-unix-socket-path=/var/run/mysql --without-debug \75 --without- bench --without-readline &&74 --with-unix-socket-path=/var/run/mysql/mysql.sock 75 --without-debug --without-bench --without-readline && 76 76 make testdir=/usr/lib/mysql/mysql-test && 77 77 make testdir=/usr/lib/mysql/mysql-test install && … … 158 158 unprivileged user and group.</para> 159 159 160 <screen><userinput><command>mysql_install_db && 161 chown -R mysql:mysql /srv/mysql</command></userinput></screen> 160 <screen><userinput><command>mysql_install_db --user=mysql</command></userinput></screen> 162 161 163 162 <para>Further configuration requires that the 164 163 <application>My<acronym>SQL</acronym></application> server be running:</para> 165 164 166 <screen><userinput><command>mysqld_safe --user=mysql 2>&1 >/dev/null &</command></userinput></screen> 165 <screen><userinput><command>install -o mysql -d /var/run/mysql && 166 mysqld_safe --user=mysql 2>&1 >/dev/null &</command></userinput></screen> 167 167 168 168 <para>A default installation does not setup a password for the administrator, 169 169 so use the following command to set one. Replace 170 170 <replaceable>[new-password]</replaceable> with your own.</para> 171 172 <!--173 <screen><userinput><command>mysql -uroot mysql</command></userinput>174 Welcome to the MySQL monitor. Commands end with ; or \g.175 Your MySQL connection id is 2 to server version: 3.23.51-log176 177 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.178 179 <prompt>mysql></prompt> <userinput><command>UPDATE user SET password=password('<replaceable>new-password</replaceable>') WHERE user='root';</command></userinput>180 Query OK, 2 rows affected (0.00 sec)181 Rows matched: 2 Changed: 2 Warnings: 0182 183 <prompt>mysql></prompt> <userinput><command>FLUSH PRIVILEGES;</command></userinput>184 Query OK, 0 rows affected (0.00 sec)185 186 <prompt>mysql></prompt> <userinput><command>EXIT;</command></userinput>187 bye188 </screen>189 -->190 171 191 172 <screen><userinput><command>mysqladmin -u root password <replaceable>[new-password]</replaceable></command></userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.