• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to import a sql file in codeigniter?

#7
Try it

Code:
exec( 'echo "source '.$fileSQL.'"  | mysql -u '.$user.' -p.'$password  );
Reply


Messages In This Thread
RE: How to import a sql file in codeigniter? - by jonathanq - 02-23-2017, 01:42 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.