You are here: Portal Home > Knowledgebase > Database Related > MySQL > Can't run Load Data INFILE/OUTFILE?
Can't run Load Data INFILE/OUTFILE?
| There are a few mysql queries that we don't allow customers to use with their main account user(or any user for that matter). One of these commands is CREATE database. The only user that can create databases on our systems is the mysql root user, and the only way to use its priveleges to create a new database is through the cpanel, under 'Mysql Databases'. We also don't allow either commands for LOAD DATA INFILE/OUTFILE, for security reasons. There are some alternatives to this, if you're trying to import or export a database. Here's two examples: LOAD DATA INFILE ALTERNATIVE FROM SSH: $ echo "source databasefile.sql" | mysql -u user -ppassword databasename LOAD DATA OUTFILE ALTERNATIVE FROM SSH: $ mysql -u user -ppassword databasename > outputfile.sql |
Also Read

