When I run PHPmyAdmin its in the form: domain/localhost/phypmyadmin. What does localhost refer to? The files that I want to import are in domain but I still cannot import them using the load local statement.
When I run PHPmyAdmin its in the form: domain/localhost/phypmyadmin. What does localhost refer to?
Share
Localhost is typically your machine. I’m not sure what you’re wanting to do with files. If you’re running Linux, connecting to Localhost will connect through the loopback interface in most distributions (not your main Ethernet interface). I’d look to see what interface your server is bound to, and adjust your address properly.
To answer the comment above, generally MySQL Servers are bound to the loopback interface making them accessible only on that local machine. If you need to import files from a remote machine, you would have to copy the file to the server, and run the command locally.
If that’s still problematic, PHPMyAdmin has an import feature. If you can access PHPMyAdmin, you can import your file through that interface (If your file is large, you might have to kick up the max file upload settings. I’m not positive, but I’m pretty sure it’s a PHP setting.)