Ignore:
Timestamp:
12/13/2003 05:21:42 PM (20 years ago)
Author:
Igor Živković <igor@…>
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, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
bc5af77
Parents:
5cf976e
Message:

modified mysql-config to utilize mysqladmin, added /usr/lib/mysql to ld.so.conf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1637 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/databases/mysql/mysql-config.xml

    r5cf976e r5d9d6d9  
    2929</userinput></screen>
    3030
    31 <para>A default installation does not setup a password for the administrator.
    32 So here we will login and set one. We strongly suggest changing
    33 'new-password' to your own.</para>
     31<para>A default installation does not setup a password for the administrator
     32so here we will set one. Replace <replaceable>[new-password]</replaceable>
     33with your own.</para>
    3434
     35<!--
    3536<screen><userinput><command>mysql -uroot mysql</command></userinput>
    3637Welcome to the MySQL monitor.  Commands end with ; or \g.
     
    4950bye
    5051</screen>
     52-->
     53
     54<screen><userinput><command>mysqladmin -u root password <replaceable>[new-password]</replaceable> &amp;&amp;
     55mysqladmin -p flush-privileges</command></userinput></screen>
    5156
    5257<para>Now that we are done with the configuration of the server, we can
    5358shut it down.</para>
    5459
    55 <screen><userinput><command>kill `pidof -x mysqld_safe mysqld`</command></userinput></screen>
    56 
    57 
    58 <sect4>
    59 <title><application>My<acronym>SQL</acronym></application> init.d script</title>
     60<screen><userinput><command>mysqladmin -p shutdown</command></userinput></screen>
    6061
    6162<para>To automate the running of <application>My<acronym>SQL</acronym></application>, use the following command to create
     
    117118ln -sf ../init.d/mysql ../rc6.d/K26mysql</command></userinput></screen>
    118119
    119 </sect4>
     120<para>Finally, add this entry to your <filename>ld.so.conf</filename>
     121file so that programs which utilize
     122<application>My<acronym>SQL</acronym></application> can find its
     123libraries:</para>
     124
     125<screen><userinput><command>echo /usr/lib/mysql &gt;&gt; /etc/ld.so.conf</command></userinput></screen>
    120126
    121127</sect3>
Note: See TracChangeset for help on using the changeset viewer.