mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01:00 
			
		
		
		
	A read-only storage engine that stores it's data in (aws) S3 To store data in S3 one could use ALTER TABLE: ALTER TABLE table_name ENGINE=S3 libmarias3 integration done by Sergei Golubchik libmarias3 created by Andrew Hutchings
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			270 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			270 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
if (!`SELECT count(*) FROM information_schema.engines WHERE
 | 
						|
      (support = 'YES' OR support = 'DEFAULT') AND
 | 
						|
      engine = 's3'`)
 | 
						|
{
 | 
						|
  skip Need s3 engine;
 | 
						|
}
 | 
						|
if (`select @@global.s3_secret_key = "" or @@global.s3_access_key = ""`)
 | 
						|
{
 | 
						|
  skip S3 engine not configured;
 | 
						|
}
 |