james_4k2 Posted March 10, 2009 Share Posted March 10, 2009 Hi, I am new to mysql , unix. I have a serer with PHP, MYSQL and linux in it. Additionally i have to install an apllication which tells me that i have to make sure mysql shared object is included in my platform's dynamiclibraray load path and export LD_LIBRARY_PATH=/usr/lib/mysql and I have no idea what is that and how to do that. please check this link http://www.interfaceware.com/manual/mysql_unix_iguana_older.html please help me if someone knows about the solution. oh my mysql version is 5.0.45 I have also posted this in the mysql section because i was not sure which is the right place for it. Sorry about that thanks Quote Link to comment https://forums.phpfreaks.com/topic/148836-not-sure-if-its-linux-issue-or-mysql/ Share on other sites More sharing options...
MiCR0 Posted March 11, 2009 Share Posted March 11, 2009 hi James well all that means is that it needs to access MySQL and as it is using the LD_LIBRARY_PATH which means it needs to access the "libmysqlclient_r.so" file. U can search for it and then u know what path to use as you not posted what Linux system its hard to guess as all change try /usr/lib/mysql/lib Hope that helps MICR0 Quote Link to comment https://forums.phpfreaks.com/topic/148836-not-sure-if-its-linux-issue-or-mysql/#findComment-782100 Share on other sites More sharing options...
Maq Posted March 11, 2009 Share Posted March 11, 2009 You have to create an environment variable. This is usually done in the bashrc file. What linux distro are you using? General steps: vim ~/.bashrc Add the env var: export LD_LIBRARY_PATH='/user/lib/mysql/lib' Quote Link to comment https://forums.phpfreaks.com/topic/148836-not-sure-if-its-linux-issue-or-mysql/#findComment-782133 Share on other sites More sharing options...
james_4k2 Posted March 11, 2009 Author Share Posted March 11, 2009 Hi MICRO, I have CentOS 5.2 and Mysql 5.0.45 Thanks for the reply Quote Link to comment https://forums.phpfreaks.com/topic/148836-not-sure-if-its-linux-issue-or-mysql/#findComment-782197 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.