Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't run any MySQL command 1

Status
Not open for further replies.
Jun 14, 1999
606
US
Hello,<br><br>I've just installed MySQL -version 3.22.32 for AIX 4.3.2- in my RS/6000 machine running AIX 4.3.3. When I &quot;installed&quot; I tried to run the command to change the root password (<font color=red>bin/mysqladmin -u root password 'pass' </font>) or test the system with <font color=red>bin/mysql</font>; it gives<br><br><b><br>exec(): 0509-036 Cannot load program bin/mysql because of the following errors:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0509-150&nbsp;&nbsp;&nbsp;Dependent module libmysqlclient.a could not be loaded.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0509-022 Cannot load module libmysqlclient.a.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0509-026 System error: A file or directory in the path name does not exist.<br></b> <br><br>Thanks in advance...<br><br><i>Crossposted to MySQL forum....</i>
 
Try adding libpath=/(path to msql libraries)<br>to your env.<br>Verify the location of libmysqlclient.a<br>It should be in /lib or is that /usr/lib<br>for everyone to use or symbolic link to<br>it.<br><br>
 
Thanks.<br><br>I've edited <font color=red>/etc/environment</font> and put a line with<br><br><FONT FACE=monospace><br>export LIBPATH=$LIBPATH:/usr/lib:/usr/local/lib:/usr/local/mysql/lib<br></font><br><br>And everything is working
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top