Changeset 65df9fca for content/databases/mysql
- Timestamp:
- 06/03/2004 02:41:04 AM (20 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, gimp3, 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, v5_1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2cbfd78a
- Parents:
- 23d784b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/databases/mysql/mysql-config.xml
r23d784b r65df9fca 12 12 <title>Configuration Information</title> 13 13 14 <para>There are several default configurations file available in 15 <filename class="directory">/usr/share/mysql</filename> which you can use.</para> 14 <para>There are several default configuration files available in 15 <filename class="directory">/usr/share/mysql</filename> which you can 16 use. Create <filename>/etc/my.cnf</filename> using the following 17 command:</para> 16 18 17 19 <screen><userinput><command>cp /usr/share/mysql/my-medium.cnf /etc/my.cnf</command></userinput></screen> 18 20 19 <para> Wecan now install a database and change the ownership to the21 <para>You can now install a database and change the ownership to the 20 22 unprivileged user and group.</para> 21 23 … … 27 29 <screen><userinput><command>mysqld_safe --user=mysql 2>&1 >/dev/null &</command></userinput></screen> 28 30 29 <para>A default installation does not setup a password for the administrator30 so here we willset one. Replace <replaceable>[new-password]</replaceable>31 <para>A default installation does not setup a password for the 32 administrator, so use the following command to set one. Replace <replaceable>[new-password]</replaceable> 31 33 with your own.</para> 32 34 … … 52 54 <screen><userinput><command>mysqladmin -u root password <replaceable>[new-password]</replaceable></command></userinput></screen> 53 55 54 <para> Now that we are done with the configuration of the server, we can55 shut it down.</para>56 <para>Configuration of the server is now finished. Shut the server down 57 using the following command:</para> 56 58 57 59 <screen><userinput><command>mysqladmin -p shutdown</command></userinput></screen> 58 60 59 <para>Install <filename>/etc/rc.d/init.d/mysql</filename>61 <para>Install the <filename>/etc/rc.d/init.d/mysql</filename> 60 62 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 61 63
Note:
See TracChangeset
for help on using the changeset viewer.